Funny coincidence, I mention this in todays' "Java Specialists'
Newsletter": https://www.javaspecialists.eu/archive/Issue254.html
And I believe they improved this in Java 9 :-)
Regards
Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java™ Specialists' Newsletter" -
Hello!
I have the very simple Utils function:
public static Unsafe getUnsafe(){
Field f = Unsafe.class.getDeclaredField("theUnsafe");
f.setAccessible(true);
return (Unsafe) f.get(null);
}
And, as it turned out from my analysis with perf it is a bottleneck in my
"scheme" of