mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 23:48:50 +00:00
8268906: gc/g1/mixedgc/TestOldGenCollectionUsage.java assumes that GCs take 1ms minimum
Reviewed-by: kbarrett, ayang, lkorinth
This commit is contained in:
parent
ee0247f056
commit
a0f32cb140
@ -139,8 +139,8 @@ public class TestOldGenCollectionUsage {
|
||||
if (newCollectionCount <= collectionCount) {
|
||||
throw new RuntimeException("No new collection");
|
||||
}
|
||||
if (newCollectionTime <= collectionTime) {
|
||||
throw new RuntimeException("Collector has not run some more");
|
||||
if (newCollectionTime < collectionTime) {
|
||||
throw new RuntimeException("Collection time ran backwards");
|
||||
}
|
||||
|
||||
System.out.println("Test passed.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user