RFR: 8283784: java_lang_String::as_platform_dependent_str stores to oop in native state
Kim Barrett
kbarrett at openjdk.java.net
Wed Mar 30 07:31:37 UTC 2022
On Wed, 30 Mar 2022 05:32:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Please review this trivial fix that adjusts the block scope so that JNIHandles::destroy_local is called once we are back in VM, and so no longer safepoint-safe.
>
> Testing: tiers 1-3 as sanity test
>
> Thanks,
> David
Looks good. Not sure I'd describe this as "trivial", but maybe I've just forgotten too much about JNI local handle management, so it required some time to page that back in.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8031
More information about the hotspot-runtime-dev
mailing list