RFR: turn off critical jni
Fedor Burdun
fedor.burdun at azulsystems.com
Fri Apr 15 14:30:52 UTC 2016
Hi all,
Since aarch32 has no support critical jni entries (a most of required routines are unimplemented).
I would like to suggest to turn off this feature.
The idea it to switching off this flag in VM_Version::initialize()
although it is not the best place to do such things I can't find any better one.
The good assumption is to disable it in globals_aarch32.hpp,
but eventually CriticalJNINatives flag was not declared as platform dependant.
Moreover the flag UseBiasedLocking seems not to be turned off in despite of
confusing line "define_pd_global(bool, UseBiasedLocking, false);" in globals_aarch32.hpp
The test case that reproduces problem is in attachement (src.tgz), however it looks like it affects only jit-ed code.
Thanks,
Fedor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: criticalJni.patch
Type: text/x-diff
Size: 362 bytes
Desc: criticalJni.patch
URL: <http://mail.openjdk.java.net/pipermail/aarch32-port-dev/attachments/20160415/b57f6433/criticalJni.patch>
More information about the aarch32-port-dev
mailing list