Relates :
|
|
Relates :
|
In J2SE 1.4.2 a memory barrier instruction was added whenever most thread state transitions are performed in order to fix a bug were a race condition could allow a thread to escape from blocking during a safepoint operation. The addition of the memory barrier has added substantial overhead to all JNI, VM and calling native functions.
|