Skip to content


Browse files Browse the repository at this point in the history
8268906: gc/g1/mixedgc/ assumes that GC…
…s take 1ms minimum

Backport-of: a0f32cb1406e4957e84befd9b68444adb662bd13
  • Loading branch information
GoeLin committed Mar 10, 2022
1 parent 365e4ce commit ba26525
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -139,8 +139,8 @@ public void run() {
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.");
Expand Down

1 comment on commit ba26525

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.