-
Enhancement
-
Resolution: Unresolved
-
P4
-
12
Our compilers insert runtime-checks to check if G1 pre barriers are needed when accessing referent fields through the unsafe API. But then again, using unsafe is unsafe as the name suggests, and there were never any guarantees that this should work. I suggest removing these checks to simplify the code and increase performance for the common case.