Using C++11+ in hotspot

Andrew Haley aph at redhat.com
Fri Aug 10 12:59:23 UTC 2018


On 08/08/2018 08:51 PM, Martin Buchholz wrote:
> I'd like to see hotspot stop using the -fno-strict-aliasing curtch,
> replacing it with union and/or may_alias, but this is a serious investment.

It's a serious investment, and we'd risk breaking stuff.  At least the entire
heap would have to be an array with elements which are a union of all of the
possible types, and there'd be a byte array overlaid on top of that.  It would
not be pretty.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the workshop-discuss mailing list