Skip to content

Commit

Permalink
8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:Comp…
Browse files Browse the repository at this point in the history
…ileThreshold=100 -XX:TieredStopAtLevel=1

Backport-of: 61d0db3838932d4030b05ffb04ee2b0215ea686e
  • Loading branch information
Andrew Lu committed Feb 19, 2024
1 parent 38a60d7 commit de3ae6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/hotspot/jtreg/compiler/tiered/LevelTransitionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ private ExtendedTestCase(String methodName) {
}

private static class CompileMethodHolder {
private final int iter = 10;
// Make sure that loop backedge is never taken to prevent unexpected OSR compilations.
private final int iter = 1;
private int field = 42;

/**
Expand Down

1 comment on commit de3ae6f

@openjdk-notifier
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.