RFR: 8301402: os::print_location gets is_global_handle assert
David Holmes
dholmes at openjdk.org
Wed Feb 1 07:53:51 UTC 2023
On Tue, 31 Jan 2023 09:27:50 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> [JDK-8299089](https://bugs.openjdk.org/browse/JDK-8299089) introduced a change all valid handles are tagged. However the `is_[weak_]global_handle` methods are used in context where the jobject handle may not be a valid handle, so the underlying storage must be checked.
>
> It now checks both the tag and the storage.
This seems reasonable. Thanks.
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12312
More information about the hotspot-runtime-dev
mailing list