RFR: 8256497: Zero: enable G1 and Shenandoah GCs [v2]
Aleksey Shipilev
shade at openjdk.java.net
Thu Nov 19 08:32:14 UTC 2020
> Following the [JDK-8255796](https://bugs.openjdk.java.net/browse/JDK-8255796) improvement that ditched the inline contiguous alloc use from Zero, we can now rely on GC interface to hook the GCs properly. G1 and Shenandoah are a bit special here, because they require special `Reference.get` handling.
>
> Note that it does not change the default GC for Zero, because Zero is implicitly `NeverActAsServerMachine`, which still selects Serial GC by default. After this change, Zero users can opt-in to G1 or Shenandoah.
>
> Additional testing:
> - [x] Linux x86_64 Zero fastdebug `hotspot_gc_shenandoah` (some lingering failures about non-enabled compressed oops)
> - [ ] Linux x86_64 Zero fastdebug `tier1` with `-XX:+UseG1GC`
Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
- Merge branch 'master' into JDK-8256497-zero-g1-shenandoah
- Remove TODO
- 8256497: Zero: enable G1 and Shenandoah GCs
-------------
Changes: https://git.openjdk.java.net/jdk/pull/1268/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1268&range=01
Stats: 72 lines in 5 files changed: 54 ins; 16 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/1268.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1268/head:pull/1268
PR: https://git.openjdk.java.net/jdk/pull/1268
More information about the build-dev
mailing list