RFR: 8202479: Add missing try_resolve_jobject_in_native calls

Erik Osterlund erik.osterlund at oracle.com
Mon May 14 07:00:18 UTC 2018


Hi Per,

Thanks for the review!

/Erik

> On 14 May 2018, at 07:24, Per Liden <per.liden at oracle.com> wrote:
> 
>> On 05/01/2018 05:00 PM, 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/
> 
> Looks good to me.
> 
> /Per
> 
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8202479
>> Thanks,
>> /Erik



More information about the hotspot-dev mailing list