RFR: 8265349: vmTestbase/../stress/compiler/deoptimize/Test.java fails with OOME due to CodeCache exhaustion.

Evgeny Nikitin enikitin at openjdk.java.net
Wed Apr 28 19:09:51 UTC 2021


On Wed, 28 Apr 2021 16:01:51 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> Will it make sense to make `NON_SEGMENTED_CACHE_ALLOWANCE` / `SEGMENTED_CACHE_ALLOWANCE` value dependent on `Platform::isComp`?

Please take a look at the new version. I measured code cache usage without the Xcomp, and it falls within 1-2MB per cycle/tree with 10 threads setup (I've did several runs). I suggest 5M in this case, just to be sure we'll not hit some high-amplitude resonance.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3762


More information about the hotspot-compiler-dev mailing list