8247754: Shenandoah: mxbeans tests can be shorter

Reviewed-by: rkennke
This commit is contained in:
Aleksey Shipilev 2020-06-17 17:21:56 +02:00
parent d2c1027edc
commit 00dc525e5f
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;