RFR: 8202479: Add missing try_resolve_jobject_in_native calls

Erik Österlund erik.osterlund at oracle.com
Mon May 7 08:53:04 UTC 2018


Ping!

On 2018-05-01 17:00, Erik Österlund wrote:
> 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