RFR: 8301402: os::print_location gets is_global_handle assert
Coleen Phillimore
coleenp at openjdk.org
Tue Jan 31 13:49:59 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.
Thank you for fixing this!
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12312
More information about the hotspot-runtime-dev
mailing list