[10] RFR(M) 8182701: Modify JVMCI to allow Graal Compiler to expose platform MBean

mandy chung mandy.chung at oracle.com
Fri Sep 15 17:53:45 UTC 2017

On 9/15/17 5:47 AM, Doug Simon wrote:
>> I don't think I can. There is no way to get to HotspotGraalRuntime except
>> asking the HotSpotGraalCompiler. The HotspotGraalRuntime isn't JVMCIRuntime...
>> At least I think so
> That is correct - you have to obtain a HotspotGraalRuntime from a HotSpotGraalCompiler. There can be other HotspotGraalRuntime instances (e.g., Truffle has it's own HotSpotGraalCompiler/HotSpotGraalRuntime).
Ah... that explains why you need two mbean() methods in this version.

 > http://cr.openjdk.java.net/~jtulach/8182701/webrev.05/index.html

Looks good.


More information about the core-libs-dev mailing list