RFR: 8321940: Improve CDSHeapVerifier in handling of interned strings

David Holmes dholmes at openjdk.org
Fri Dec 15 05:37:38 UTC 2023


On Thu, 14 Dec 2023 06:21:13 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> The PR fixes the CDSHeapVerifier so that it no longer warns about interned strings that are not referenced by any of the archived heap object graphs. Please see the bug report for more details.
> 
> Tests: tiers 1-4, builds-tier5

src/hotspot/share/cds/cdsHeapVerifier.cpp line 219:

> 217:   if (info != nullptr) {
> 218:     if (value.orig_referrer() == nullptr && java_lang_String::is_instance(orig_obj)) {
> 219:       // This string object is not refernced by any of the archived object graphs. It's archived

typo: refernced

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17102#discussion_r1427566564


More information about the hotspot-runtime-dev mailing list