code: private static void processNewTraceComponents() {
          if (allTraceComponentsLock.tryLock()) {
              try {
                  TraceComponent tc = newTracecomponents.poll();
                  while (tc != null) {
                      allTraceComponents.add(tc);
                      tc = newTracecomponents.poll();
                  }
              } finally {
                  allTraceComponentsLock.unlock();
              }
          }
      }
docs: private: If we already have (or can get) the allTraceComponentsLock
  process the new trace components