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

Several java/lang/invoke tests fail due to exhausted code cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 8u65, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Environment:

      -client -Xcomp

    • Subcomponent:
    • Resolved In Build:
      b70
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Several java/lang/invoke tests fail due to exhausted code cache:
        java/lang/invoke/TestCatchExceptionWithVarargs.java
        java/lang/invoke/VarargsArrayTest.java

        Issue could be reproduced with Client VM and Xcomp mode.
        Code cache size for a Client VM is pretty small comparing to Server VM, about 32m, so it's pretty easy to run out of it, especially if a test generates many different methods.

        I think that default code cache size for such tests should be increased.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kshefov Konstantin Shefov
                Reporter:
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: