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

OverflowCodeCacheTest.java fails with Out of space in CodeCache for method handle intrinsic

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b138

      Description

      ----------System.err:(34/2714)----------
      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=
      java.lang.BootstrapMethodError: call site initialization exception
      at java.lang.invoke.CallSite.makeSite(java.base@9-internal/CallSite.java:347)
      at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(java.base@9-internal/MethodHandleNatives.java:250)
      at java.lang.invoke.MethodHandleNatives.linkCallSite(java.base@9-internal/MethodHandleNatives.java:240)
      at jdk.test.lib.Asserts.getMessage(Asserts.java:451)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:292)
      at OverflowCodeCacheTest.test(OverflowCodeCacheTest.java:85)
      at OverflowCodeCacheTest.main(OverflowCodeCacheTest.java:57)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.lang.invoke.StringConcatException: Generator failed
      at java.lang.invoke.StringConcatFactory.generate(java.base@9-internal/StringConcatFactory.java:732)
      at java.lang.invoke.StringConcatFactory.doStringConcat(java.base@9-internal/StringConcatFactory.java:637)
      at java.lang.invoke.StringConcatFactory.makeConcatWithConstants(java.base@9-internal/StringConcatFactory.java:552)
      at java.lang.invoke.CallSite.makeSite(java.base@9-internal/CallSite.java:300)
      ... 12 more
      Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
      at java.lang.invoke.BoundMethodHandle$Species_L11.copyWithExtendL(java.base@9-internal/Species_L11)
      at java.lang.invoke.MethodHandles.foldArguments(java.base@9-internal/MethodHandles.java:4837)
      at java.lang.invoke.MethodHandles.foldArguments(java.base@9-internal/MethodHandles.java:3814)
      at java.lang.invoke.StringConcatFactory$MethodHandleInlineCopyStrategy.generate(java.base@9-internal/StringConcatFactory.java:1602)
      at java.lang.invoke.StringConcatFactory.generate(java.base@9-internal/StringConcatFactory.java:727)
      ... 15 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpochepk Dmitrij Pochepko
                Reporter:
                jprovino Joseph Provino (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: