docs: protected void addNameToApplicationMap(String name) {
          String appName = getApplicationName();
  
          // If it is a base metric, the name will be null
          if (appName == null)
              return;
          ConcurrentLinkedQueue<String> list = applicationMap.get(appName);
          if (list == null) {
              ConcurrentLinkedQueue<String> newList = new ConcurrentLinkedQueue<String>();
              list = applicationMap.putIfAbsent(appName, newList);
              if (list == null)
                  list = newList;
          }
          list.add(name);
      }