Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestThrowableInstrumentation.java intermittently fail by temurin8 on linux-aarch64 #3760

Open
sendaoYan opened this issue Jun 13, 2022 · 0 comments

Comments

@sendaoYan
Copy link
Contributor

Describe the bug
jdk/jfr/event/runtime/TestThrowableInstrumentation.java intermittently fail for "Unable to compile Throwable:: with C1"

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
image

Additional context

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant