RFR: 8341015: OopStorage location decoder crashes accessing non-initalized OopStorage [v2]

Kim Barrett kbarrett at openjdk.org
Thu Sep 26 13:13:38 UTC 2024


On Thu, 26 Sep 2024 12:52:51 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Sure thing, see new commit.
>
> Another maybe preferable option could be printing "uninitialized" or something.

@tschatzl I don't think printing "uninitialized" or anything like that is really appropriate here.  What this code
is doing is printing something if-and-only-if the pointer is found to be in an oopstorage block.  There aren't
any of those if there's no oopstorage yet.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21204#discussion_r1777052593


More information about the hotspot-gc-dev mailing list