Discussion:
RFR: 8187490: HotSpotRuntimeMBean should be moved to Graal management module
(too old to reply)
Doug Simon
2018-04-12 18:24:33 UTC
Permalink
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.

Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.

The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.

http://cr.openjdk.java.net/~dnsimon/8187490/

-Doug
mandy chung
2018-04-13 04:04:22 UTC
Permalink
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
This looks okay.   jdk.internal.vm.compiler.management will become empty
until the next Graal update and I guess this makes it easier to make
Graal change in the upstream project.   This is fine with me.

Mandy
David Holmes
2018-04-13 05:15:08 UTC
Permalink
Hi Doug,

Not a review. :) Just wondering what HotSpotRuntimeMBean has to do with
this ???

Thanks,
David
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
-Doug
Doug Simon
2018-04-13 07:12:08 UTC
Permalink
Post by David Holmes
Hi Doug,
Not a review. :) Just wondering what HotSpotRuntimeMBean has to do with this ???
These are the non-Graal code base changes needed to move the bean out of the jdk.internal.vm.compiler module. The rest of the changes will come in the next Graal update. If you'd like, I can defer pushing these changes until the Graal changes land on github so that the complete change can be reviewed.

-Doug
Post by David Holmes
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
-Doug
David Holmes
2018-04-13 13:59:22 UTC
Permalink
Post by Doug Simon
Post by David Holmes
Hi Doug,
Not a review. :) Just wondering what HotSpotRuntimeMBean has to do with this ???
These are the non-Graal code base changes needed to move the bean out of the jdk.internal.vm.compiler module. The rest of the changes will come in the next Graal update. If you'd like, I can defer pushing these changes until the Graal changes land on github so that the complete change can be reviewed.
So we seem to have both HotSpotRuntimeMBean and HotspotRuntimeMBean
(note small 's') defined in the source code! That seems to be a bad
thing to me! I was wondering what this had to do with the small 's'
HotspotRuntimeMBean - and the answer seems to be "nothing"!

David
Post by Doug Simon
-Doug
Post by David Holmes
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
-Doug
Doug Simon
2018-04-13 14:05:52 UTC
Permalink
Post by Doug Simon
Post by David Holmes
Hi Doug,
Not a review. :) Just wondering what HotSpotRuntimeMBean has to do with this ???
These are the non-Graal code base changes needed to move the bean out of the jdk.internal.vm.compiler module. The rest of the changes will come in the next Graal update. If you'd like, I can defer pushing these changes until the Graal changes land on github so that the complete change can be reviewed.
So we seem to have both HotSpotRuntimeMBean and HotspotRuntimeMBean (note small 's') defined in the source code! That seems to be a bad thing to me! I was wondering what this had to do with the small 's' HotspotRuntimeMBean - and the answer seems to be "nothing"!
There is actually no HotSpotRuntimeMBean.java source - it's HotSpotGraalMBean.java. I've renamed the issue and fixed the naming in the description.

-Doug
Post by Doug Simon
-Doug
Post by David Holmes
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
-Doug
Alan Bateman
2018-04-13 06:27:25 UTC
Permalink
Post by Doug Simon
Please review this change that removes the existing Graal service provider for hooking into the Platform MBean Server and makes jdk.internal.vm.compiler.management an upgradeable module.
Please refer to https://bugs.openjdk.java.net/browse/JDK-8187490?focusedCommentId=14170942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14170942 for discussion on the latter point.
The Graal changes that dynamically register an MBean for accessing Graal will be part of a subsequent Graal update.
http://cr.openjdk.java.net/~dnsimon/8187490/
This looks okay to me.

-Alan
Loading...