< prev index next >

src/jdk.internal.vm.compiler.management/share/classes/org.graalvm.compiler.hotspot.management/src/org/graalvm/compiler/hotspot/management/JMXServiceProvider.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 33,43 **** import org.graalvm.compiler.serviceprovider.JMXService; import com.sun.management.ThreadMXBean; /** ! * Implementation of {@link JMXService} for JDK 11 and later. */ @ServiceProvider(JMXService.class) public class JMXServiceProvider extends JMXService { private final ThreadMXBean threadMXBean = (ThreadMXBean) ManagementFactory.getThreadMXBean(); --- 33,43 ---- import org.graalvm.compiler.serviceprovider.JMXService; import com.sun.management.ThreadMXBean; /** ! * Implementation of {@link JMXService} for JDK 13 and later. */ @ServiceProvider(JMXService.class) public class JMXServiceProvider extends JMXService { private final ThreadMXBean threadMXBean = (ThreadMXBean) ManagementFactory.getThreadMXBean();
< prev index next >