Integrated: 8358183: [JVMCI] crash accessing nmethod::jvmci_name in CodeCache::aggregate
Boris Ulasevich
bulasevich at openjdk.org
Wed Jul 2 21:18:46 UTC 2025
On Tue, 3 Jun 2025 06:39:18 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:
> This change addresses an intermittent crash in CompileBroker::print_heapinfo() when accessing JVMCI metadata after a CodeBlob::purge().
>
> The issue is a regression after:
> - JDK-8343789: JVMCI metadata was moved from nmethod into a separate blob.
> - JDK-8352112: CodeBlob::purge() was updated to set _mutable_data to blob_end().
>
> The change zeroes out _mutable_data_size, _relocation_size, and _metadata_size in purge() so that after purge jvmci_data_size() returns 0 and CompileBroker::print_heapinfo() won’t touch an invalid _metadata.
This pull request has now been integrated.
Changeset: 74822ce1
Author: Boris Ulasevich <bulasevich at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/74822ce12acaf9816aa49b75ab5817ced3710776
Stats: 3 lines in 2 files changed: 3 ins; 0 del; 0 mod
8358183: [JVMCI] crash accessing nmethod::jvmci_name in CodeCache::aggregate
Reviewed-by: eastigeevich, phh
-------------
PR: https://git.openjdk.org/jdk/pull/25608
More information about the hotspot-compiler-dev
mailing list