RFR(XS): 8133599: Unsafe.getAndSetObject() is no longer intrinsified by c2
aleksey.shipilev at oracle.com
Fri Aug 14 18:51:27 UTC 2015
On 14.08.2015 21:44, Roland Westrelin wrote:
>> Fix looks good, but what's the point for bounds-checking the $id anyway?
>> Let the "default" clause in switch(id) to handle "return false",
>> assuming no library-compiler-inline intrinsics appear in switch?
> Thanks for looking at this, Aleksey. I guess bound checking the id is a
> bit faster than going through the switch and maybe less error prone.
Well, "less error prone" is kinda contradicted by empirical evidence
here. But I don't have strong opinion about this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the hotspot-compiler-dev