JDK-8265349 : vmTestbase/../stress/compiler/deoptimize/Test.java fails with OOME due to CodeCache exhaustion.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2021-04-16
  • Updated: 2024-01-31
  • Resolved: 2021-05-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 8
11.0.23-oracleFixed 17 b21Fixed 8u411Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8265464 :  
Description
The following test failed in the JDK17 CI:

vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id1

Here's a snippet from the log file:

----------System.out:(566/50899)----------
### TRACE 1: RNG seed = -2831188475452714326 (0xd8b59914f47612aa)
For random generator using seed: -2831188475452714326
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-2831188475452714326" to command line.
[170.585s][warning][codecache] CodeCache is full. Compiler has been disabled.
[170.585s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=102400Kb used=101607Kb max_used=101620Kb free=792Kb
 bounds [0x0000023f766c0000, 0x0000023f7cac0000, 0x0000023f7cac0000]
 total_blobs=37618 nmethods=31425 adapters=6149
 compilation: disabled (not enough contiguous free space left)
              stopped_count=1, restarted_count=0
 full_count=0
#>  
#>  WARNING: switching log to verbose mode,
#>      because error is complained
#>  
# ERROR: Caught exception in Thread[Thread-19,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLDJLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLDJLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.filterArgument(MethodHandles.java:5592)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.filterArguments(MethodHandles.java:5549)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHFilterTF.computeInboundMH(MHFilterTF.java:94)
# 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:359)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Caught exception in Thread[Thread-19,5,MainThreadGroup] java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
	at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
	at nsk.share.Log.complain(Log.java:403)
	at nsk.share.Log.complain(Log.java:414)
	at vm.mlvm.share.Env.complain(Env.java:172)
	at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:78)
	at java.base/java.lang.Thread.run(Thread.java:831)
# ERROR: Caught exception in Thread[Thread-7,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:328)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:260)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:377)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-14,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method)
# ERROR: 	at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1083)
# ERROR: 	at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1112)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3650)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:2594)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.findFactory(ClassSpecializer.java:995)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.findFactories(ClassSpecializer.java:903)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.linkSpeciesDataToCode(ClassSpecializer.java:922)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.loadSpecies(ClassSpecializer.java:493)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer.findSpecies(ClassSpecializer.java:195)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$SpeciesData.extendWith(BoundMethodHandle.java:375)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.newSpeciesData(LambdaFormEditor.java:465)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentForm(LambdaFormEditor.java:528)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentI(LambdaFormEditor.java:479)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.bindArgumentI(BoundMethodHandle.java:102)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArgumentPrimitive(MethodHandles.java:5176)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArguments(MethodHandles.java:5157)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-15,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLILDL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLLLILDL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:328)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:260)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:377)
# 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 java.base/java.lang.invoke.MethodHandle.asSpreader(MethodHandle.java:1026)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asSpreader(MethodHandle.java:982)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeSpreaderMH(MHCollectSpreadTF.java:42)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-14,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-15,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-19,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-7,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-8,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-8,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-2,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-24,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-23,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-11,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-2,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-11,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-23,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-24,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Failed runs: 1 of 1
	at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
	at nsk.share.Log.complain(Log.java:403)
	at vm.mlvm.share.Env.complain(Env.java:164)
	at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:408)
	at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:327)
	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:244)
	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:186)
	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:157)
	at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
	at vm.mlvm.meth.stress.compiler.deoptimize.Test.main(Test.java:170)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:831)
### TRACE 1: TEST FAILED


#>  
#>  SUMMARY: Following errors occured
#>      during test execution:
#>  
# ERROR: Caught exception in Thread[Thread-19,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLDJLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLDJLL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.filterArgument(MethodHandles.java:5592)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.filterArguments(MethodHandles.java:5549)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHFilterTF.computeInboundMH(MHFilterTF.java:94)
# 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:359)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-7,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:328)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:260)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:377)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-14,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for adapters
# ERROR: 	at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method)
# ERROR: 	at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1083)
# ERROR: 	at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1112)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3650)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:2594)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.findFactory(ClassSpecializer.java:995)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.findFactories(ClassSpecializer.java:903)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.linkSpeciesDataToCode(ClassSpecializer.java:922)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer$Factory.loadSpecies(ClassSpecializer.java:493)
# ERROR: 	at java.base/java.lang.invoke.ClassSpecializer.findSpecies(ClassSpecializer.java:195)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$SpeciesData.extendWith(BoundMethodHandle.java:375)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.newSpeciesData(LambdaFormEditor.java:465)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentForm(LambdaFormEditor.java:528)
# ERROR: 	at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentI(LambdaFormEditor.java:479)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle.bindArgumentI(BoundMethodHandle.java:102)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArgumentPrimitive(MethodHandles.java:5176)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.insertArguments(MethodHandles.java:5157)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-15,5,MainThreadGroup]
# ERROR: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLILDL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLLLILDL)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvertByEditor(MethodHandleImpl.java:328)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:260)
# ERROR: 	at java.base/java.lang.invoke.MethodHandleImpl.makePairwiseConvert(MethodHandleImpl.java:377)
# 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 java.base/java.lang.invoke.MethodHandle.asSpreader(MethodHandle.java:1026)
# ERROR: 	at java.base/java.lang.invoke.MethodHandle.asSpreader(MethodHandle.java:982)
# ERROR: 	at vm.mlvm.meth.share.transform.v2.MHCollectSpreadTF.computeSpreaderMH(MHCollectSpreadTF.java:42)
# 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:448)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-14,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-15,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-19,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-7,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-8,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-8,5,MainThreadGroup] failed
# ERROR: Caught exception in Thread[Thread-2,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-24,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-23,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Caught exception in Thread[Thread-11,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:2196)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles$Lookup$ClassDefiner.defineClass(MethodHandles.java:2445)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:319)
# ERROR: 	at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:753)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:832)
# ERROR: 	at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:790)
# 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:227)
# ERROR: 	at java.base/java.lang.invoke.BoundMethodHandle$Species_L.copyWith(BoundMethodHandle.java:247)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments0(MethodHandles.java:5252)
# ERROR: 	at java.base/java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:5315)
# 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:486)
# ERROR: 	at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:493)
# 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:831)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-2,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-11,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-23,5,MainThreadGroup] failed
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[Thread-24,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
----------System.err:(2/203)----------
Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
----------rerun:(50/6958)*----------


This failure mode first appeared in the build-ID that contains:

JDK-8058176 [mlvm] tests should not allow code cache exhaustion

so it's likely that these failures are related to that fix.
Comments
[jdk11u-fix-request] Approval Request from Amos “Backporting for parity with jdk 11.0.23-oracle. No risk, test fix. Un-Clean backport. SAP nightlies passed on 2024-01-29”
30-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2490 Date: 2024-01-28 06:15:08 +0000
28-01-2024

Changeset: 880c138b Author: Evgeny Nikitin <enikitin@openjdk.org> Committer: Igor Ignatyev <iignatyev@openjdk.org> Date: 2021-05-03 14:32:18 +0000 URL: https://git.openjdk.java.net/jdk/commit/880c138b587e0902cd19c27a02baf41b57ac0bb0
03-05-2021