docs: public static void registerStandardMXBeans(Registry registry) {
      for (MemoryPoolMXBean mbean : ManagementFactory.getPlatformMXBeans(MemoryPoolMXBean.class)) {
        registry.register(new MemoryPoolMeter(registry, mbean));
      }
  
      for (BufferPoolMXBean mbean : ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class)) {
        registry.register(new BufferPoolMeter(registry, mbean));
      }
    }