RFR(S): 8150921: Update Unsafe getters/setters to use double-register variants

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue May 3 20:33:49 UTC 2016

On 05/03/2016 11:17 PM, Mikael Vidstedt wrote:
> On 5/3/2016 1:05 PM, Aleksey Shipilev wrote:
>> I actually wonder why those accessors (especially non-long) are
>> UNSAFE_ENTRY, not UNSAFE_LEAF, if "we can treat those as leaf
>> routines"...
> Ah, yes, now I see what you're saying. In general, since the mutex isn't
> actually checking for safepoints right now this isn't really a problem,
> but it would definitely be nice to unify it. How about I file a separate
> enhancement for moving the other memory operations into MemoryAccess?

Sure, do that. That's not the end of unsafe.cpp story anyway.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160503/2d09c17e/signature.asc>

More information about the hotspot-compiler-dev mailing list