RFR: 8058176: [mlvm] tests should not allow code cache exhaustion [v2]

Igor Ignatyev iignatyev at openjdk.java.net
Wed Mar 10 18:37:14 UTC 2021


On Wed, 10 Mar 2021 14:23:03 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:

>> Raised the RFE: https://bugs.openjdk.java.net/browse/JDK-8263377
>
> Here's the rationale behind the non-nmethods heap monitoring: the test i2c_c2i that fills up that heap. The test was started with 8MB per each heap, and consumed all the non-nmethods one. The consumption speed diminishes quickly after ~10 MB, but with the limits of 8 MB (stated in the case) we can hit the Error:
> 
>     Heaps statistics: [non-nm: 1.8 MiB : 22%][profiled: 781.3 KiB : 9%][non-profiled: 189.3 KiB : 2%]
>     ...
>     Heaps statistics: [non-nm: 8.0 MiB : 99%][profiled: 3.0 MiB : 37%][non-profiled: 8.0 MiB : 99%]

> Raised the RFE: https://bugs.openjdk.java.net/browse/JDK-8263377

do you plan to change  `MHTransformationGen:: isCodeCacheEffectivelyFull` after/if 8263377 got integrated?

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

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


More information about the hotspot-dev mailing list