Skip to content

Commit 90951f2

Browse files
committed
tools: EnginesGCedTest BufferCleaner::CleaningThread stays alive after JDK-8344332 [GR-67693]
1 parent f668acc commit 90951f2

File tree

1 file changed

+6
-3
lines changed
  • tools/src/com.oracle.truffle.tools.chromeinspector.test/src/com/oracle/truffle/tools/chromeinspector/test

1 file changed

+6
-3
lines changed

tools/src/com.oracle.truffle.tools.chromeinspector.test/src/com/oracle/truffle/tools/chromeinspector/test/EnginesGCedTest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@
2828
import java.util.HashSet;
2929
import java.util.Set;
3030

31+
import org.graalvm.polyglot.Context;
32+
import org.graalvm.polyglot.Engine;
3133
import org.junit.After;
3234
import org.junit.Assert;
3335
import org.junit.Before;
3436

35-
import org.graalvm.polyglot.Context;
36-
import org.graalvm.polyglot.Engine;
37-
3837
import com.oracle.truffle.api.test.GCUtils;
3938

4039
public abstract class EnginesGCedTest {
@@ -89,6 +88,10 @@ void checkCollected() {
8988
// A libgraal thread
9089
continue;
9190
}
91+
if (t.getClass().getName().equals("java.nio.BufferCleaner$CleaningThread")) {
92+
// BufferCleaner::CleaningThread JDK-8344332 (JDK 26+6) [GR-67693]
93+
continue;
94+
}
9295
Assert.fail("An extra thread " + t + " is found after test finished.");
9396
}
9497
}

0 commit comments

Comments
 (0)