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

[mlvm] tests should not allow code cache exhaustion

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      Hotspot can throw java.lang.VirtualMachineError or java.lang.InternalError around calls if there is no code cache space left. This becomes most problematic with tests that stress method handles and produce a lot of different signatures for which the JVM has to create lot of c2i i2c adapters and in case of MH intrinsics - interpreter and compiled versions of intrinsics. The tests need to be hardened to tolerate such failures.

      How to reproduce: run any mlvm test (in my case it was vm/mlvm/meth/stress/compiler/deoptimize) with restricted code cache -XX:ReservedCodeCacheSize=8M

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              enikitin Evgeny Nikitin
              Reporter:
              iveresov Igor Veresov
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: