Memory fences in the JNI invocation on Power
Michihiro Horie
HORIE at jp.ibm.com
Mon Sep 9 14:14:33 UTC 2019
Hi all,
This is not a RFR. I have a client case in which a Java application invokes
JNI methods heavily on Power.
Fixing Java code is not allowed, so I’m wondering if there is any way to
enlighten the JNI invocation by replacing memory fences such as the
following diff on Power. I may miss the design around the diff, but I’m not
sure if WR order needs to be protected.
http://cr.openjdk.java.net/~mhorie/webrev_jni/
(I should fix code under the given abstractions, but wanted to share a fix
on Power in the first place.)
Best regards,
Michihiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20190909/c3d23ee9/attachment.html>
More information about the ppc-aix-port-dev
mailing list