JDK-7003798 : test/compiler/6991596 fails with true != false
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-12-01
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
Description
cd <repo>/test/compiler/6991596
javac Test6991596.java
java -Xmixed -server -d64 -XX:-PrintVMOptions -XX:+StartAttachListener -Dsun.jvm.hotspot.runtime.VM.disableVersionCheck=1 -XX:DefaultMaxRAMFraction=8 -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -cp /net/sqenfs-1.sfbay/export1/comp/vm/jdk/7/nightly/fastdebug/rt_baseline/solaris-sparcv9/lib/tools.jar:/net/sqenfs-1.sfbay/export1/comp/vm/testbase/jtreg/7-nightly/JT_HS/test/compiler/6991596:.:. -ea -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles -XX:+EnableInvokeDynamic -XX:+UnlockDiagnosticVMOptions -XX:+VerifyMethodHandles Test6991596

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/build/hotspot/rev/b856cd7f4e60
25-12-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/b856cd7f4e60
16-12-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b856cd7f4e60
03-12-2010

SUGGESTED FIX Add LP64 specific code that removes the empty slot and chooses the right one for conversion.
02-12-2010

EVALUATION It seems I have never verified the test of 6991596 with 64-bit SPARC. On SPARCV9 a long has two 64-bit interpreter slots but the value is passed only in one slot. The current code does not handle this.
02-12-2010