Integrated: 8276429: CodeHeapState::print_names() fails with "assert(klass->is_loader_alive()) failed: must be alive"

Evgeny Astigeevich duke at openjdk.java.net
Thu Nov 4 15:05:16 UTC 2021


On Wed, 3 Nov 2021 14:19:29 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

> This PR fixes `applications/kitchensink/Kitchensink.java` regression introduced by JDK-8275729.
> The requirement for a method holder to be alive is relaxed to the holder not to be NULL.
> If holder's name is not available the format of the string used for the name is the same as for unavailable method's name and signature, instead of the default string: `<unknown>`.
> Testing:
> - `make run-test TEST=tier1_serviceability`: Passed
> - `make run-test TEST=hotspot_tier2_serviceability`: Passed
> - `make run-test TEST=serviceability/dcmd/compiler/CodeHeapAnalyticsMethodNames.java`: Passed

This pull request has now been integrated.

Changeset: 5acff753
Author:    Evgeny Astigeevich <eastig at amazon.com>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5acff75379a4ad0acfcfc6a64fcc4b588ef048c7
Stats:     5 lines in 1 file changed: 1 ins; 1 del; 3 mod

8276429: CodeHeapState::print_names() fails with "assert(klass->is_loader_alive()) failed: must be alive"

Reviewed-by: kvn

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

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


More information about the hotspot-compiler-dev mailing list