RFR: 8301402: os::print_location gets is_global_handle assert
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Jan 31 09:35:42 UTC 2023
[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.
-------------
Commit messages:
- 8301402: os::print_location gets is_global_handle assert
Changes: https://git.openjdk.org/jdk/pull/12312/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12312&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8301402
Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/12312.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12312/head:pull/12312
PR: https://git.openjdk.org/jdk/pull/12312
More information about the hotspot-runtime-dev
mailing list