Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269613

vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java fails with OOME in CodeCache

XMLWordPrintable

      test vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java
      fails with
      [0.005s][info][gc] Using G1
      [1.064s][info][safepoint] Safepoint "Cleanup", Time since last: 1052761052 ns, Reaching safepoint: 112254 ns, At safepoint: 25408 ns, Total: 137662 ns
      [1.459s][info][gc ] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 24M->2M(496M) 2.717ms
      [1.459s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 391410011 ns, Reaching safepoint: 170493 ns, At safepoint: 2819885 ns, Total: 2990378 ns
      [1.602s][info][gc ] GC(1) Pause Young (Normal) (G1 Evacuation Pause) 38M->4M(496M) 5.119ms
      [1.602s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 138229214 ns, Reaching safepoint: 150264 ns, At safepoint: 5256251 ns, Total: 5406515 ns
      [3.041s][info][gc ] GC(2) Pause Young (Normal) (G1 Evacuation Pause) 69M->8M(496M) 10.986ms
      [3.041s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 1427842478 ns, Reaching safepoint: 174191 ns, At safepoint: 11080831 ns, Total: 11255022 ns
      [3.201s][info][gc ] GC(3) Pause Young (Concurrent Start) (Metadata GC Threshold) 37M->10M(496M) 11.007ms
      [3.201s][info][gc ] GC(4) Concurrent Mark Cycle
      [3.201s][info][safepoint] Safepoint "CollectForMetadataAllocation", Time since last: 148579716 ns, Reaching safepoint: 297896 ns, At safepoint: 11186110 ns, Total: 11484006 ns
      [3.211s][info][gc ] GC(4) Pause Remark 11M->11M(44M) 5.655ms
      [3.211s][info][safepoint] Safepoint "G1Concurrent", Time since last: 3925875 ns, Reaching safepoint: 180062 ns, At safepoint: 5779504 ns, Total: 5959566 ns
      [3.212s][info][gc ] GC(4) Pause Cleanup 11M->11M(44M) 0.004ms
      [3.212s][info][safepoint] Safepoint "G1Concurrent", Time since last: 337881 ns, Reaching safepoint: 742400 ns, At safepoint: 86735 ns, Total: 829135 ns
      [3.213s][info][gc ] GC(4) Concurrent Mark Cycle 11.521ms
      [3.356s][info][gc ] GC(5) Pause Young (Normal) (G1 Preventive Collection) 30M->12M(44M) 11.762ms
      [3.356s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 131881441 ns, Reaching safepoint: 166295 ns, At safepoint: 11887723 ns, Total: 12054018 ns
      [3.849s][info][gc ] GC(6) Pause Young (Normal) (G1 Evacuation Pause) 25M->10M(44M) 12.447ms
      [3.849s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 480224994 ns, Reaching safepoint: 124187 ns, At safepoint: 12591459 ns, Total: 12715646 ns
      [4.639s][info][safepoint] Safepoint "ICBufferFull", Time since last: 789670187 ns, Reaching safepoint: 264643 ns, At safepoint: 63189 ns, Total: 327832 ns
      [4.641s][info][safepoint] Safepoint "ICBufferFull", Time since last: 878499 ns, Reaching safepoint: 229576 ns, At safepoint: 61136 ns, Total: 290712 ns
      [4.674s][info][safepoint] Safepoint "ICBufferFull", Time since last: 33179863 ns, Reaching safepoint: 328583 ns, At safepoint: 74182 ns, Total: 402765 ns
      [4.687s][info][gc ] GC(7) Pause Young (Normal) (G1 Evacuation Pause) 26M->8M(44M) 7.128ms
      [4.687s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 5903950 ns, Reaching safepoint: 218535 ns, At safepoint: 7235680 ns, Total: 7454215 ns
      [4.691s][info][safepoint] Safepoint "ICBufferFull", Time since last: 3159600 ns, Reaching safepoint: 419185 ns, At safepoint: 62999 ns, Total: 482184 ns
      [4.692s][info][safepoint] Safepoint "ICBufferFull", Time since last: 593688 ns, Reaching safepoint: 363570 ns, At safepoint: 70835 ns, Total: 434405 ns
      [4.693s][info][safepoint] Safepoint "ICBufferFull", Time since last: 722492 ns, Reaching safepoint: 292575 ns, At safepoint: 46358 ns, Total: 338933 ns
      [4.694s][info][safepoint] Safepoint "ICBufferFull", Time since last: 774020 ns, Reaching safepoint: 272778 ns, At safepoint: 31560 ns, Total: 304338 ns
      [4.696s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1340786 ns, Reaching safepoint: 213485 ns, At safepoint: 33965 ns, Total: 247450 ns
      [4.697s][info][safepoint] Safepoint "ICBufferFull", Time since last: 566425 ns, Reaching safepoint: 274381 ns, At safepoint: 35126 ns, Total: 309507 ns
      [4.697s][info][safepoint] Safepoint "ICBufferFull", Time since last: 479542 ns, Reaching safepoint: 265523 ns, At safepoint: 27012 ns, Total: 292535 ns
      [4.698s][info][safepoint] Safepoint "ICBufferFull", Time since last: 373549 ns, Reaching safepoint: 272137 ns, At safepoint: 34947 ns, Total: 307084 ns
      [4.699s][info][safepoint] Safepoint "ICBufferFull", Time since last: 671003 ns, Reaching safepoint: 267178 ns, At safepoint: 39325 ns, Total: 306503 ns
      [4.700s][info][safepoint] Safepoint "ICBufferFull", Time since last: 762758 ns, Reaching safepoint: 213535 ns, At safepoint: 33233 ns, Total: 246768 ns
      [4.702s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1462077 ns, Reaching safepoint: 266736 ns, At safepoint: 42421 ns, Total: 309157 ns
      [4.704s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1310578 ns, Reaching safepoint: 257309 ns, At safepoint: 43262 ns, Total: 300571 ns
      [4.705s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1142168 ns, Reaching safepoint: 204389 ns, At safepoint: 44134 ns, Total: 248523 ns
      [4.706s][info][safepoint] Safepoint "ICBufferFull", Time since last: 798105 ns, Reaching safepoint: 208756 ns, At safepoint: 51067 ns, Total: 259823 ns
      [4.707s][info][safepoint] Safepoint "ICBufferFull", Time since last: 798507 ns, Reaching safepoint: 520758 ns, At safepoint: 47961 ns, Total: 568719 ns
      [4.708s][info][safepoint] Safepoint "ICBufferFull", Time since last: 763260 ns, Reaching safepoint: 189049 ns, At safepoint: 41208 ns, Total: 230257 ns
      [4.710s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1828963 ns, Reaching safepoint: 269581 ns, At safepoint: 47220 ns, Total: 316801 ns
      [4.713s][info][safepoint] Safepoint "ICBufferFull", Time since last: 2218233 ns, Reaching safepoint: 276454 ns, At safepoint: 44495 ns, Total: 320949 ns
      [4.714s][info][safepoint] Safepoint "ICBufferFull", Time since last: 602614 ns, Reaching safepoint: 251408 ns, At safepoint: 35407 ns, Total: 286815 ns
      [4.715s][info][safepoint] Safepoint "ICBufferFull", Time since last: 816480 ns, Reaching safepoint: 254533 ns, At safepoint: 41900 ns, Total: 296433 ns
      [4.716s][info][safepoint] Safepoint "ICBufferFull", Time since last: 563330 ns, Reaching safepoint: 269953 ns, At safepoint: 36759 ns, Total: 306712 ns
      [4.717s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1207583 ns, Reaching safepoint: 200270 ns, At safepoint: 45967 ns, Total: 246237 ns
      [4.719s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1347880 ns, Reaching safepoint: 199618 ns, At safepoint: 37863 ns, Total: 237481 ns
      [4.722s][info][safepoint] Safepoint "ICBufferFull", Time since last: 2535905 ns, Reaching safepoint: 188548 ns, At safepoint: 35789 ns, Total: 224337 ns
      [4.724s][info][safepoint] Safepoint "ICBufferFull", Time since last: 1954490 ns, Reaching safepoint: 262339 ns, At safepoint: 68750 ns, Total: 331089 ns
      [4.725s][info][safepoint] Safepoint "ICBufferFull", Time since last: 771635 ns, Reaching safepoint: 341459 ns, At safepoint: 37191 ns, Total: 378650 ns
      [4.726s][info][safepoint] Safepoint "ICBufferFull", Time since last: 519616 ns, Reaching safepoint: 251749 ns, At safepoint: 33212 ns, Total: 284961 ns
      [4.727s][info][safepoint] Safepoint "ICBufferFull", Time since last: 521330 ns, Reaching safepoint: 257159 ns, At safepoint: 41398 ns, Total: 298557 ns
      [4.729s][info][safepoint] Safepoint "ICBufferFull", Time since last: 2122370 ns, Reaching safepoint: 216581 ns, At safepoint: 73069 ns, Total: 289650 ns
      [4.760s][info][safepoint] Safepoint "ICBufferFull", Time since last: 30951893 ns, Reaching safepoint: 233372 ns, At safepoint: 59243 ns, Total: 292615 ns
      [4.776s][warning][codecache] CodeCache is full. Compiler has been disabled.
      [4.776s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
      CodeCache: size=49152Kb used=49150Kb max_used=49150Kb free=1Kb
       bounds [0x00007ff809766000, 0x00007ff80c766000, 0x00007ff80c766000]
       total_blobs=14560 nmethods=14176 adapters=309
       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: Exception in thread Thread-161
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Exception in thread Thread-161
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
      at nsk.share.Log.complain(Log.java:403)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test$DeadlockedThread.run(INDIFY_Test.java:18332)
      # ERROR: Exception in thread Thread-10
      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test$DeadlockedThread.run(INDIFY_Test.java:18330)
      Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
      at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLLLLL)
      at java.base/java.lang.invoke.MethodHandles.argumentsWithCombiner(MethodHandles.java:6141)
      at java.base/java.lang.invoke.MethodHandles.foldArgumentsWithCombiner(MethodHandles.java:6121)
      at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:612)
      at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bsmt(INDIFY_Test.java:103)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bootstrap160(INDIFY_Test.java:3093)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:92)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.indyWrapper160(INDIFY_Test.java:3091)
      ... 5 more
      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test$DeadlockedThread.run(INDIFY_Test.java:18330)
      Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
      at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLLLLL)
      at java.base/java.lang.invoke.MethodHandles.argumentsWithCombiner(MethodHandles.java:6141)
      at java.base/java.lang.invoke.MethodHandles.foldArgumentsWithCombiner(MethodHandles.java:6121)
      at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:612)
      at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bsmt(INDIFY_Test.java:103)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bootstrap9(INDIFY_Test.java:375)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:92)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.indyWrapper9(INDIFY_Test.java:373)
      ... 5 more
      # ERROR: Exception in thread Thread-404
      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test$DeadlockedThread.run(INDIFY_Test.java:18330)
      Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
      at java.base/java.lang.invoke.BoundMethodHandle$Species_LLLLLLL.copyWithExtendL(java/lang/invoke/BoundMethodHandle$Species_LLLLLLL)
      at java.base/java.lang.invoke.MethodHandles.argumentsWithCombiner(MethodHandles.java:6141)
      at java.base/java.lang.invoke.MethodHandles.foldArgumentsWithCombiner(MethodHandles.java:6121)
      at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:612)
      at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bsmt(INDIFY_Test.java:103)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.bootstrap403(INDIFY_Test.java:7467)
      at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:92)
      at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
      at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
      at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.indyWrapper403(INDIFY_Test.java:7465)
      ... 5 more

            chagedorn Christian Hagedorn
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: