mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-10 02:18:46 +00:00
8247754: Shenandoah: mxbeans tests can be shorter
Reviewed-by: rkennke
This commit is contained in:
parent
d2c1027edc
commit
00dc525e5f
@ -91,7 +91,7 @@ import com.sun.management.GarbageCollectionNotificationInfo;
|
||||
public class TestChurnNotifications {
|
||||
|
||||
static final long HEAP_MB = 128; // adjust for test configuration above
|
||||
static final long TARGET_MB = Long.getLong("target", 8_000); // 8 Gb allocation
|
||||
static final long TARGET_MB = Long.getLong("target", 2_000); // 2 Gb allocation
|
||||
|
||||
// Should we track the churn precisely?
|
||||
// Precise tracking is only reliable when GC is fully stop-the-world. Otherwise,
|
||||
|
||||
@ -85,7 +85,7 @@ import com.sun.management.GarbageCollectionNotificationInfo;
|
||||
public class TestPauseNotifications {
|
||||
|
||||
static final long HEAP_MB = 128; // adjust for test configuration above
|
||||
static final long TARGET_MB = Long.getLong("target", 8_000); // 8 Gb allocation
|
||||
static final long TARGET_MB = Long.getLong("target", 2_000); // 2 Gb allocation
|
||||
|
||||
static volatile Object sink;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user