RFR [XS] 8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM

Andrew Haley aph at redhat.com
Fri Apr 25 14:26:28 UTC 2014

On 04/25/2014 03:19 PM, Volker Simonis wrote:
> Thanks for opening the bug!
> They first opened http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60963
> but categorized it as 'ubsan' (i.e. sanitizer bug) which it isn't.
> Hopefully  they'll fix it soon:)

It's really easy to fix once we figure out what the fix should be.
Even I could do it.  :-)

One idea suggested was that if the data member in the virtual call is
a POD- type we should assume nothing about its type and make the call.
That sounds sensible to me, but I'm waiting for the author of the code
to express an opinion.


More information about the hotspot-dev mailing list