[jdk19] RFR: 8289302: Restore CriticalJNINatives
Martin Doerr
mdoerr at openjdk.org
Fri Sep 23 13:21:31 UTC 2022
On Wed, 29 Jun 2022 12:10:35 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This change restores the code in the JVM that implemented the internal JavaCritical or CriticalJNINatives functionality. Customers are using this feature and there's no replacement yet for it.
> This change is a backout and merge of jDK-8258192: Obsolete the CriticalJNINatives flag.
> This change also adds the deprecation message that was missed, which I checked is okay with the customer.
>
> Tested with tiers1-4.
Btw. performance of GetPrimitiveArrayCritical&ReleasePrimitiveArrayCritical could get improved for weak memory model platforms by relaxing memory ordering semantics of `Atomic::inc/dec` in object pinning and `GCLocker` handling code.
-------------
PR: https://git.openjdk.org/jdk19/pull/90
More information about the hotspot-dev
mailing list