RFR [XS] 8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM
Andrew Hughes
gnu.andrew at redhat.com
Thu Apr 24 03:10:25 UTC 2014
Webrev: http://cr.openjdk.java.net/~andrew/8041658/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8041658
Earlier discussion: http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-April/013577.html
It is necessary to pass -fno-devirtualize to gcc when building macroAssembler_x86.o with
gcc 4.9.0, as otherwise a return statement is missing in
MacroAssembler::jump_cc(Assembler::Condition, AddressLiteral) and control flow enters whatever
method happens to follow it.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the hotspot-dev
mailing list