dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
558 stars 115 forks source link

[Backport] 8305896: Alternative full GC forwarding #684

Closed mmyxym closed 1 year ago

mmyxym commented 1 year ago

Summary: Introduce UseAltGCForwarding to support alternative full GC forwarding. Now support G1 and parallelGC. The code accords to 8305896 and https://github.com/openjdk/lilliput-jdk17u/

Test Plan: CICD

Reviewed-by: yude.lin, yifeng.jin

Issue: https://github.com/dragonwell-project/dragonwell11/issues/683

mmyxym commented 1 year ago

Since only G1 and PS are currently supported, would it be best for us to check during JVM initialization and disable the option if G1 or PS are not selected?

The option will not affect other GCs.