8354078: Implement JEP 521: Generational Shenandoah

Reviewed-by: ysr
This commit is contained in:
William Kemper 2025-05-27 21:40:27 +00:00
parent 11ad1733f8
commit 2e8b195a96
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public:
virtual void initialize_flags() const;
virtual const char* name() { return "Generational"; }
virtual bool is_diagnostic() { return false; }
virtual bool is_experimental() { return true; }
virtual bool is_experimental() { return false; }
virtual bool is_generational() { return true; }
};

View File

@ -47,7 +47,7 @@ public class TestModeUnlock {
public static void main(String[] args) throws Exception {
testWith("-XX:ShenandoahGCMode=satb", Mode.PRODUCT);
testWith("-XX:ShenandoahGCMode=passive", Mode.DIAGNOSTIC);
testWith("-XX:ShenandoahGCMode=generational", Mode.EXPERIMENTAL);
testWith("-XX:ShenandoahGCMode=generational", Mode.PRODUCT);
}
private static void testWith(String h, Mode mode) throws Exception {