RFR: JDK-8299229: Allow UseZGC with JVMCI and enable nmethod entry barrier support
Erik Österlund
eosterlund at openjdk.org
Fri Jan 13 20:50:17 UTC 2023
On Fri, 13 Jan 2023 20:02:26 GMT, Tom Rodriguez <never at openjdk.org> wrote:
> This exposes the required ZGC values to JVMCI and adds support for nmethod entry barriers. The ZGC support is straightforward but the nmethod entry barrier required some reworking to fit better into JVMCI usage. I also removed the epoch based barrier since it was no longer used with simplified the assumptions on the JVMCI side. There is also a minor loom related fix to support post call nops included. I could move that into a separate PR if that would be preferred.
Please do not remove the patching epoch code for AArch64. It is used by generational ZGC so that it can do self modifying code on AArch64 safely. Generational ZGC is just around the corner. We are currently upstreaming shared runtime code separately so it doesn't need to be merged with the JEP.
-------------
Changes requested by eosterlund (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11996
More information about the hotspot-dev
mailing list