RFR: 8202479: Add missing try_resolve_jobject_in_native calls
Erik Österlund
erik.osterlund at oracle.com
Tue May 1 15:00:40 UTC 2018
Hi,
There are some missing calls to try_resolve_jobject_in_native for the
jni fast get field optimization.
On x86_64, it is used for T_BOOLEAN, T_BYTE, T_CHAR, T_SHORT, T_INT and
T_LONG, but is missing for T_FLOAT and T_DOUBLE.
On SPARC, it is used for T_BOOLEAN, T_BYTE, T_CHAR, T_SHORT, T_INT, but
is missing for T_LONG, T_FLOAT and T_DOUBLE.
On AArch64, it is used for all types.
Here is a patch to add the missing calls to try_resolve_jobject_in_native.
Webrev:
http://cr.openjdk.java.net/~eosterlund/8202479/webrev.00/
Bug:
https://bugs.openjdk.java.net/browse/JDK-8202479
Thanks,
/Erik
More information about the hotspot-dev
mailing list