RFR: 8277342: vmTestbase/nsk/stress/strace/strace004.java fails with SIGSEGV in InstanceKlass::jni_id_for [v2]

Coleen Phillimore coleenp at openjdk.java.net
Fri Nov 19 17:32:27 UTC 2021


On Fri, 19 Nov 2021 02:39:15 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Use the version jni_id_for_impl() as jni_id_for() that takes out the JFieldIdCreation_lock before reading jni_ids in InstanceKlass.
>> Tested with mach5 tier1-3.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix comments.

Thanks Harold and David.  I did run some startup and performance tests that might notice JNI (added link to bug for you) and there is no difference in performance.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6466


More information about the hotspot-dev mailing list