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

[mlvm] tests should not allow code cache exhaustion

XMLWordPrintable

    • b19

        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

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

                Created:
                Updated:
                Resolved: