Skip to content

Commit bd2fac8

Browse files
committed
8293891: gc/g1/mixedgc/TestOldGenCollectionUsage.java (still) assumes that GCs take 1ms minimum
Backport-of: d77c464c3804362b80fecca9df05fbef90bed14a
1 parent 2f99fbb commit bd2fac8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/hotspot/jtreg/gc/g1/mixedgc/TestOldGenCollectionUsage.java

-3
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ public void run() {
118118
if (collectionCount <= 0) {
119119
throw new RuntimeException("Collection count <= 0");
120120
}
121-
if (collectionTime <= 0) {
122-
throw new RuntimeException("Collector has not run");
123-
}
124121

125122
MixedGCProvoker.provokeMixedGC(liveOldObjects);
126123

0 commit comments

Comments
 (0)