RFR: Update nmethod caching and clean up unused/duplicate methods [v8]

Andrew Dinn adinn at openjdk.org
Mon Jun 16 10:24:48 UTC 2025


On Thu, 12 Jun 2025 20:12:36 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

>> This PR updates nmethod caching to be based on caching of CodeBlob. It also cleans up some dead code and duplicate methods.
>
> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add back CodeBuffer::clear_strings()
>   
>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

src/hotspot/share/code/aotCodeCache.hpp line 162:

> 160:                bool has_clinit_barriers = false,
> 161:                bool for_preload = false,
> 162:                bool ignore_decompile = false) {

You still have not used this argument to initialize field `_ignore_decompile` (it is set unconditionally to true at line 190).

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

PR Review Comment: https://git.openjdk.org/leyden/pull/71#discussion_r2149598644


More information about the leyden-dev mailing list