JDK-6746320 : Hotspot regression test for 6512111 fails in -Xmixed mode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs14
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2008-09-09
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Related Reports
Relates :  
The test


started failing with HS14-b04 in "-client -Xmixed" mode on linux-i586, windows-i586, solaris-i586. HS14-b03 does not have this problem. It looks like a reincarnation of 6512111.

To reproduce:

$ ssh vm-v20z-34.sfbay
$ cd /tmp
$ cp /net/sqenfs-1.sfbay/export1/comp/vm/testbase/jtreg/7/HS_REGRESSION/test/closed/compiler/6512111/CorruptFinalLong.java .
$ /net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/14/pit/b04/product/linux-i586/bin/javac CorruptFinalLong.java
$ /net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/14/pit/b04/product/linux-i586/bin/java -client -Xmixed CorruptFinalLong

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/6e7305abe64c

EVALUATION The changes to merge the assemblers and make a 64-bit C1 incorrectly changed the logic in stack2stack, resuting incorrect long moves. The fix is to restore the original code.