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

Evgeny Nikitin enikitin at openjdk.java.net
Thu Apr 29 20:27:52 UTC 2021


On Wed, 28 Apr 2021 20:50:15 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> I don't like that we kinda guessing here, but on the other hand, I don't think we have much of the choice.
> 
> could you please add the comment which roughly explains why it's 10kk and 5kk? so the next person who reads/modifies this piece of code will have an idea of how/why we get the current numbers.

I've added an explanation and extracted the code cache monitoring in a sub-class (because it had lots of members and explanations dedicated only to this functionality).

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

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


More information about the hotspot-compiler-dev mailing list