Duplicate :
|
Test execution results are erroneous when C2 with -Xcomp is used. -Xint: [ Tester.var_8 = 118 Tester.var_5 = 2076285318 Tester.var_7 = 73 Tester.var_6 = 1.39254183239738E308 ] -server -Xcomp: [ Tester.var_8 = 118 Tester.var_5 = 2076285318 Tester.var_7 = 84 Tester.var_6 = 1.39254183239738E308 ] I observe such behavior on linux-x86/x64 with both JDK 6u10b11 and JDK 7b24. Testcase is attached. Added a testcase with similar error. Added a number of cases with similar failure. Don't know whether it's the same bug or not. Also observed with HS10 (10.0-b19, jdk6u5-b11).