RFR: 8283784: java_lang_String::as_platform_dependent_str stores to oop in native state

David Holmes dholmes at openjdk.java.net
Wed Mar 30 05:39:04 UTC 2022


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

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

Commit messages:
 - 8283784: java_lang_String::as_platform_dependent_str stores to oop in native state

Changes: https://git.openjdk.java.net/jdk/pull/8031/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8031&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283784
  Stats: 7 lines in 1 file changed: 3 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8031.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8031/head:pull/8031

PR: https://git.openjdk.java.net/jdk/pull/8031


More information about the hotspot-runtime-dev mailing list