Undefined behaviour in hotspot

Omair Majid omajid at redhat.com
Wed Apr 23 18:10:36 UTC 2014


Hi Volker,

* Volker Simonis <volker.simonis at gmail.com> [2014-04-22 15:11]:
> I could reproduce your problem on x86. On x86_64 there's a problem as
> well - the VM hangs during the initialization. Funny enough I had no
> problems on ppc64. A freshly compiled VM from jdk9/hs-comp ran without
> any problems. So this seems to be x86 related.

Thanks for looking into this.

I asked Andrew Haley for help and he pointed me to the
"-fno-devirtualize" flag for gcc. Compiling all of jdk8u with this flag
makes hotspot work :/

I don't understand this code, but maybe Andrew Haley can chime in and
explain why this makes things work.

Thanks,
Omair

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681


More information about the hotspot-dev mailing list