RFR: 8364558: Failure to generate compiler stubs from compiler thread should not crash VM when compilation disabled due to full CodeCache [v2]

Aleksey Shipilev shade at openjdk.org
Thu Aug 7 14:51:16 UTC 2025


On Wed, 6 Aug 2025 08:50:57 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> This PR avoids bringing down the VM when a code cache allocation for the stubgen compiler blob is requested by the compiler thread and fails because the code cache is full. Instead the VM is allowed to carry on with the compiler disabled.
>
> Andrew Dinn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   minimize changed lines and align log messages

This looks a kludge, but it is a sign that init code is a mess, not that the patch has a problem. From that vantage point, it looks reasonable.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26642#pullrequestreview-3097507955


More information about the hotspot-dev mailing list