code: public synchronized PerformanceMonitor createPerformanceMonitor(String name) {
          PerformanceMonitor performanceMonitor = findPerformanceMonitor(name);
  
          if (performanceMonitor == null) {
              performanceMonitor = new PerformanceMonitor();
              addPerformanceMonitorToMap(name, performanceMonitor);
          }
          return performanceMonitor;
      }
docs: Create a new {@link PerformanceMonitor} and map it to the provided name.
  If the PerformanceMonitor already exists, then the existing instance is
  returned.
  @param name the name for the {@link PerformanceMonitor}
  @return the created {@link PerformanceMonitor}