Skip to content


Browse files Browse the repository at this point in the history
8309890: waits for the wrong con…

Reviewed-by: aboldtch, kbarrett
  • Loading branch information
stefank committed Jun 14, 2023
1 parent ba837b4 commit 63fe413
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -392,10 +392,8 @@ public static void main(String[] args) {

forceDeduplication(ageThreshold, FullGC);

if (!waitForDeduplication(dupString3, baseString)) {
if (getValue(dupString3) != getValue(internedString)) {
throw new RuntimeException("String 3 doesn't match either");
if (!waitForDeduplication(dupString3, internedString)) {
throw new RuntimeException("Deduplication has not occurred for string 3");

if (afterInternedValue != getValue(dupString2)) {
Expand Down

1 comment on commit 63fe413

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.