mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-17 03:13:11 +00:00
8203431: TestFloatsOnStackDeopt.java throws java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL
Reviewed-by: redestad
This commit is contained in:
parent
55ba3cad8b
commit
069d6f992b
@ -46,7 +46,6 @@ compiler/codegen/Test6896617.java 8193479 generic-all
|
||||
compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java 8140405 generic-all
|
||||
compiler/jvmci/compilerToVM/GetResolvedJavaTypeTest.java 8158860 generic-all
|
||||
compiler/jvmci/compilerToVM/InvalidateInstalledCodeTest.java 8163894 generic-all
|
||||
compiler/runtime/TestFloatsOnStackDeopt.java 8203431 generic-all
|
||||
compiler/tiered/LevelTransitionTest.java 8067651 generic-all
|
||||
compiler/types/correctness/CorrectnessTest.java 8066173 generic-all
|
||||
compiler/types/correctness/OffTest.java 8066173 generic-all
|
||||
|
||||
@ -39,6 +39,7 @@ public class TestFloatsOnStackDeopt {
|
||||
private static final int ITERS2 = 40000;
|
||||
private static final float VALUE = 15.f;
|
||||
public static String dummyString = "long long string";
|
||||
static volatile boolean pleaseStop = false;
|
||||
|
||||
static void run_loop_with_safepoint(float[] a0, float b) {
|
||||
// Non-counted loop with safepoint.
|
||||
@ -54,9 +55,9 @@ public class TestFloatsOnStackDeopt {
|
||||
// thread provokes frequent GC - together with +DeoptimizeALot and safepoint it forces executed function deoptimization
|
||||
Thread th = new Thread() {
|
||||
public void run() {
|
||||
while(true) {
|
||||
while (!pleaseStop) {
|
||||
synchronized(this) { try { wait(1); } catch (Exception ex) {} }
|
||||
dummyString += dummyString;
|
||||
dummyString = new StringBuilder(dummyString).append(dummyString).toString();
|
||||
if (dummyString.length() > 1024*1024) { dummyString = "long long string"; }
|
||||
}
|
||||
}
|
||||
@ -77,7 +78,12 @@ public class TestFloatsOnStackDeopt {
|
||||
if (errn > 0) break;
|
||||
}
|
||||
|
||||
th.stop();
|
||||
pleaseStop = true;
|
||||
try {
|
||||
th.join();
|
||||
} catch (InterruptedException e) {
|
||||
throw new Error("InterruptedException in main thread ", e);
|
||||
}
|
||||
return errn;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user