RFR: 6964: [Agent] Automatically open base module for accessing Unsafe on JDK 11+ [v2]

Gunnar Morling github.com+28612+gunnarmorling at openjdk.java.net
Sat Nov 21 20:00:17 UTC 2020


On Tue, 10 Nov 2020 23:14:37 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>> Gunnar Morling has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
>
> Changes requested by hirt (Lead).

@thegreystone, reworked and pushed an update along the lines we discussed:

- moved module opens handling to separate class
- centralized handling of Java version
- don't exiting any longer upon error (this would happen later on, as before, when the module opening failed for some reason)

// CC @Josh-Matsuoka

-------------

PR: https://git.openjdk.java.net/jmc/pull/152


More information about the jmc-dev mailing list