RFR: 8321940: Improve CDSHeapVerifier in handling of interned strings

Calvin Cheung ccheung at openjdk.org
Thu Dec 14 21:57:39 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

With your new changes, item C in the comment can be removed.


80 // [C] A non-final static string that is assigned a string literal during class
 81 //     initialization; this string is never changed during -Xshare:dump.

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

PR Review: https://git.openjdk.org/jdk/pull/17102#pullrequestreview-1782826630


More information about the hotspot-runtime-dev mailing list