mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8354078: Implement JEP 521: Generational Shenandoah
Reviewed-by: ysr
This commit is contained in:
parent
11ad1733f8
commit
2e8b195a96
@ -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; }
|
||||
};
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user