Update Java Memory Assistant#789
Closed
mmanciop wants to merge 3 commits into
Closed
Conversation
Update Java Memory Assistant to version 0.4.0, which adds support for the following JVMs: - AdoptOpenJDK HotSpot 8.x - AdoptOpenJDK HotSpot 11.x - OpenJDK 11.x - Oracle JVM 11.x - Pivotal JDK 8.x - SAP Machine 11.x On Java 9+, an exception to the Java Module system must be added (--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED) to allow access to com.sun.management.HotSpotDiagnosticMXBean, which is needed to created heapdumps in live mode.
nebhale
approved these changes
Mar 23, 2020
nebhale
approved these changes
Mar 23, 2020
nebhale
pushed a commit
that referenced
this pull request
Mar 23, 2020
Update Java Memory Assistant to version 0.4.0, which adds support for the following JVMs: - AdoptOpenJDK HotSpot 8.x - AdoptOpenJDK HotSpot 11.x - OpenJDK 11.x - Oracle JVM 11.x - Pivotal JDK 8.x - SAP Machine 11.x On Java 9+, an exception to the Java Module system must be added (--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED) to allow access to com.sun.management.HotSpotDiagnosticMXBean, which is needed to created heapdumps in live mode. [#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
nebhale
pushed a commit
that referenced
this pull request
Mar 23, 2020
[#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
nebhale
pushed a commit
that referenced
this pull request
Mar 23, 2020
[#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
ramonskie
pushed a commit
that referenced
this pull request
Dec 4, 2025
Update Java Memory Assistant to version 0.4.0, which adds support for the following JVMs: - AdoptOpenJDK HotSpot 8.x - AdoptOpenJDK HotSpot 11.x - OpenJDK 11.x - Oracle JVM 11.x - Pivotal JDK 8.x - SAP Machine 11.x On Java 9+, an exception to the Java Module system must be added (--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED) to allow access to com.sun.management.HotSpotDiagnosticMXBean, which is needed to created heapdumps in live mode. [#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
ramonskie
pushed a commit
that referenced
this pull request
Dec 4, 2025
[#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
ramonskie
pushed a commit
that referenced
this pull request
Dec 4, 2025
[#789] Signed-off-by: Ben Hale <bhale@pivotal.io>
ramonskie
pushed a commit
that referenced
this pull request
Dec 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adjust the integration of the Java Memory Assistant so that version 0.4.0 works with Java 9+. On Java 9+, the JMA needs an exception to the Java Module system must be added
(specifically,
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED)to allow access to
com.sun.management.HotSpotDiagnosticMXBean, which isneeded to created heap dumps in live mode.
This PR enables to use the JMA with the following JVMs (and more, these are the one tested):