RFR: 8333300: [JVMCI] add support for generational ZGC [v3]

Vladimir Kozlov kvn at openjdk.org
Sun Jun 9 18:57:18 UTC 2024


On Tue, 4 Jun 2024 16:36:49 GMT, Tom Rodriguez <never at openjdk.org> wrote:

>> This exposes the required values for JVMCI to support generational ZGC.  It includes a few things worth mentioning.  JVMCI still exports XBarrierSetRuntime as fields in CompilerToVM::Data under the original name of ZBarrierSetRuntime.  I have exported the XBarrierSetRuntime and ZBarrierSetRuntime functions as addresses under their actual name.  This permits backward compatibility until all the required parts are in place.  We can eventually delete the CompilerToVM::Data names.
>> 
>> I added ZBarrierSetRuntime::load_barrier_on_oop_array paralleling XBarrierSetRuntime::load_barrier_on_oop_array as we use that for a vector barrier.  I could create the function as part of JVMCIRuntime if there are any concerns about including that in the ZGC core.
>
> Tom Rodriguez has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
> 
>  - Merge branch 'tkr-genz' of github.com:tkrodriguez/jdk into tkr-genz
>  - Fix riscv compilation
>  - 8333300: [JVMCI] add support for generational ZGC
>  - Merge branch 'master' into tkr-genz
>  - Merge branch 'master' into tkr-genz
>  - Use NativeAccess to read from handles
>  - Enable support for UseEpsilonGC
>  - Fix riscv compilation
>  - 8333300: [JVMCI] add support for generational ZGC

Last version is good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19490#pullrequestreview-2106342028


More information about the hotspot-dev mailing list