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

【dragonwell17】用例hotspot/jtreg/vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java在x64环境上使用 -Xcomp -XX:TieredStopAtLevel=1选项概率失败 #194

Closed
zhaoyuanfang1 opened this issue Aug 4, 2023 · 2 comments

Comments

@zhaoyuanfang1
Copy link

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/210413?tab=1
Steps to Reproduce
Steps to reproduce the behavior:

wget -nv https://dragonwell.oss-cn-shanghai.aliyuncs.com/test-50/OpenJDK17U-jdk_x64_linux_dragonwell_2023-07-21-07-22.tar.gz -O binary.tar.gz
wget -nv https://dragonwell.oss-cn-shanghai.aliyuncs.com/test-50/OpenJDK17U-testimage_x64_linux_dragonwell_2023-07-21-07-22.tar.gz -O test-image.tar.gz
wget -nv https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg-6.1.1.zip -O jtreg.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone -b wip_dragonwell_standard_merge_branch "[email protected]:dragonwell-project/dragonwell17.git" jdk-repo
tar zxvf test-image.tar.gz
tar zxvf binary.tar.gz
cd dragonwell-17.0.7.0.7+7-GA
export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME
cd -
test=./jdk-repo/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java
nativepath=/home/zhaoyuanfang/test/linux.x86_64.release.fake_branch-jtreg-test-dragonwell17/dragonwell-17.0.7.0.7+7-GA-test-image/hotspot/jtreg/native
nproc=`nproc` ; dir="tmp-jtreg-"`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 50 | xargs -i -n 1 -P $nproc bash -c "jtreg -ea -esa -Xcomp -XX:TieredStopAtLevel=1 -nativepath:$nativepath  -timeoutFactor:2 -v:fail,error,time,nopass -nr -w $dir/index-{} $test &> $dir/{}.log ; grep 'Test results: passed: 1' -L $dir/{}.log"

dragonwell失败日志:
14.log
关键错误信息:

#>  
#>  SUMMARY: Following errors occured
#>      during test execution:
#>  
# ERROR: Caught exception in Thread[Thread-113,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLDLLLJLLLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLDLLLJLLLLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:330)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:262)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:379)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:885)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asType(MethodHandle.java:869)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeCollectorMH(MHCollectSpreadTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadBaseTF.computeInboundMH(MHCollectSpreadBaseTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-113,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-41,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-41,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-54,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-54,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-60,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-64,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-91,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-138,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-199,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.<init>(BoundMethodHandle.java:222)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:242)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5269)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5332)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
# ERROR: 	at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
# ERROR: 	at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
# ERROR: 	at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCall.prettyPrint(MHCall.java:159)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.appendElement(MHMacroTF.java:126)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.getDescription(MHMacroTF.java:106)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHTF.toString(MHTF.java:35)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.callSequence(MHTransformationGen.java:509)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-133,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLL.<init>(java/lang/invoke/BoundMethodHandle$Species_LLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLL.make(java/lang/invoke/BoundMethodHandle$Species_LLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:330)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:262)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:379)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:885)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asType(MethodHandle.java:869)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeCollectorMH(MHCollectSpreadTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadBaseTF.computeInboundMH(MHCollectSpreadBaseTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-206,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LIDLLLLLLLLLL.<init>(java/lang/invoke/BoundMethodHandle$Species_LIDLLLLLLLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LIDLLLLLLLLLL.make(java/lang/invoke/BoundMethodHandle$Species_LIDLLLLLLLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LIDLLLLLLLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LIDLLLLLLLLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:330)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:262)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:379)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:885)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asType(MethodHandle.java:869)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeCollectorMH(MHCollectSpreadTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadBaseTF.computeInboundMH(MHCollectSpreadBaseTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-140,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.ClassLoader.defineClass0(Native Method)
# ERROR: 	at java.base/java.lang.System$2.defineClass(System.java:2307)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2439)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:320)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:752)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:854)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:812)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:481)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLL.<init>(java/lang/invoke/BoundMethodHandle$Species_LLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLL.make(java/lang/invoke/BoundMethodHandle$Species_LLLLL)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:330)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:262)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:379)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:885)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asType(MethodHandle.java:869)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeCollectorMH(MHCollectSpreadTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadBaseTF.computeInboundMH(MHCollectSpreadBaseTF.java:37)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Caught exception in Thread[Thread-142,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLIFLLII.copyWithExtendF(java/lang/invoke/BoundMethodHandle$Species_LLLLLIFLLII)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentF(LambdaFormEditor.java:497)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.bindArgumentF(BoundMethodHandle.java:105)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArgumentPrimitive(MethodHandles.java:5191)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArguments(MethodHandles.java:5174)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHInsertTF.computeInboundMH(MHInsertTF.java:69)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: 	at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: 	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: 	at java.base/java.lang.Thread.run(Thread.java:833)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-60,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-142,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-140,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-206,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-133,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-199,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-138,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-91,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-64,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1

dragonwell使用-Xmixed选项未出现失败

temurin复现失败日志
13.log

dragonwell使用-Xcomp -XX:TieredStopAtLevel=1选项失败概率:33/50
temurin复现概率:
48/50
环境信息:

image

@sendaoYan
Copy link
Contributor

@sendaoYan
Copy link
Contributor

temurin:
image

dragonwell17:
image

二者概率相近

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

No branches or pull requests

2 participants