aqa-tests
aqa-tests copied to clipboard
TestThrowableInstrumentation.java intermittently fail by temurin8 on linux-aarch64
Describe the bug
jdk/jfr/event/runtime/TestThrowableInstrumentation.java intermittently fail for "Unable to compile Throwable::
To Reproduce
test=jdk/test/jdk/jfr/event/runtime/TestThrowableInstrumentation.java
nproc=`nproc` ; dir=`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 5000 | xargs -i -n 1 -P `expr $nproc / 1` bash -c "jtreg -timeoutFactor:8 -v:fail,error,time,nopass -nr -w $dir/index-{} $test &> $dir/{}.log ; grep 'Test results: passed: 1' -L $dir/{}.log"
STDOUT:
Started recording 1. No limit specified, using maxsize=250MB as default.
Use jcmd 1204193 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTNewArena(J)J
Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTFreeArena(J)V
Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTArenaMalloc(JJ)V
WB error: failed to compile at level 1 method java.lang.Throwable::<clinit>
STDERR:
java.lang.RuntimeException: Unable to compile Throwable::<clinit> with C1
at jdk.jfr.event.runtime.TestThrowableInstrumentation.main(TestThrowableInstrumentation.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
270.log 592.log 4396.log extended.openjdk.log
probability of occurrence: 3/5000
Expected behavior run pass everytime
Screenshots

Additional context
