RFR(M) 8182701: Modify JVMCI to allow Graal Compiler to expose platform MBean
Alan.Bateman at oracle.com
Wed Jul 12 21:29:28 UTC 2017
On 12/07/2017 22:20, Vladimir Kozlov wrote:
> Contributed by Jaroslav Tulach.
> JDK itself contains quite a lot of platform MBeans which get
> registered "on demand". Graal compiler (jdk.internal.vm.compiler)
> provides its own MBean(s) - however currently there is no way to
> register it "on demand". JDK9 already contains support for collecting
> platform MBeans from various modules. We just need to expose Graal
> MBean through JVMCI.
Just to say that using services, by having jdk.internal.vm.ci declare
that it `provides` an implementation of PlatformMBeanProvider is the
right way to do this (and the qualified export to get access to the
service type is correct too).
More information about the hotspot-compiler-dev