docs: @Override
    public final List<Metric> poll(MetricFilter filter, boolean reset) {
      long now = System.currentTimeMillis();
      MetricList metrics = new MetricList(filter);
      addClassLoadingMetrics(now, metrics);
      addCompilationMetrics(now, metrics);
      addGarbageCollectorMetrics(now, metrics);
      addMemoryPoolMetrics(now, metrics);
      addOperatingSystemMetrics(now, metrics);
      addThreadMetrics(now, metrics);
      return metrics.getList();
    }