-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
None
-
1.1.6
-
x86
-
windows_nt
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2020990 | 1.2.0 | Deepa Viswanathan | P2 | Resolved | Fixed | 1.2beta4 |
Running _200_check of SpecJava with the JIT on returns invalid results.
The results are valid when run without the JIT.
$ c:/java/jdk1.1.6-N/bin/java -Djava.compiler=symcjit048 SpecApplication _200_check
Caching Off Speed = 100
======= _200_check Starting =======
Run 0 start. Total memory=1048568 free memory=892760
1st bounds test: OK
Super: Class Super, public=34, protected=33, private=32
Sub: Class Super, public=804, protected=803, private=802
Super: prot=33, priv=32
Sub: prot=111, priv=105
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765
1 1 2 3 5 8 666 13 13 21 21 34 34
2nd bounds test: OK
testIf: OK
testArray: OK
testBitOps: OK
testFor: OK
testDiv: OK
testTableSwitch: OK
testLookupSwitch: OK
testHiddenField: OK
checkRemainders: long double OK
checkMathFcts: OK
Primes less than 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
testExc1(simple throw/catch): OK
testExc2(skip catch clauses): OK
testExc3(catch in inner): OK
testExc4(catch in outer): OK
testExc5(rethrow): OK
testExc6(throw accross call): OK
testExc7(throw accr. 2 calls): OK
loopExitContinueInExceptionHandler: OK
testStringHash: OK
testObjectHash: OK
testClone: OK
testObjectArray: OK
checkInstanceOf: OK
checkInterfaceInstanceOf: OK
testWaitNull: OK
testVarAndMethodNameClash: OK
testMisk: OK
testGC: OK
****** PepTest completed ******
File output byte count = 0 checksum = 0
#### IO Statistics for this Run ####
## IO time : 0.0 seconds
## No. of File opens : 0
## No. of Byte Reads from cache : 0
## No. of Byte Reads from File : 0
## No. of Byte Reads from Url : 0
#### Cumulative Cache Stats: N 0, B 0, H 0, M 0
#### No. of HTTP retries : 0
Run 0 end. Total memory=1048568 free memory=832368
>>>>>>>>>>>>> RUN WAS NOT VALID <<<<<<<<<<<
======= _200_check Finished in 0.821 secs **NOT VALID**
requested gc
Validity check errors:
spec.results._200_check.run0.validity.error01=line 7 is: 1 1 2 3 5 8 666 13 13 2
1 21 34 34
$ c:/java/jdk1.1.6-N/bin/java -Djava.compiler=NONE SpecApplication _200_check
Caching Off Speed = 100
======= _200_check Starting =======
Run 0 start. Total memory=1048568 free memory=903160
1st bounds test: OK
Super: Class Super, public=34, protected=33, private=32
Sub: Class Super, public=804, protected=803, private=802
Super: prot=33, priv=32
Sub: prot=111, priv=105
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765
1 1 2 3 5 8 666 666 13 13 21 21
2nd bounds test: OK
testIf: OK
testArray: OK
testBitOps: OK
testFor: OK
testDiv: OK
testTableSwitch: OK
testLookupSwitch: OK
testHiddenField: OK
checkRemainders: long double OK
checkMathFcts: OK
Primes less than 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
testExc1(simple throw/catch): OK
testExc2(skip catch clauses): OK
testExc3(catch in inner): OK
testExc4(catch in outer): OK
testExc5(rethrow): OK
testExc6(throw accross call): OK
testExc7(throw accr. 2 calls): OK
loopExitContinueInExceptionHandler: OK
testStringHash: OK
testObjectHash: OK
testClone: OK
testObjectArray: OK
checkInstanceOf: OK
checkInterfaceInstanceOf: OK
testWaitNull: OK
testVarAndMethodNameClash: OK
testMisk: OK
testGC: OK
****** PepTest completed ******
File output byte count = 0 checksum = 0
#### IO Statistics for this Run ####
## IO time : 0.0 seconds
## No. of File opens : 0
## No. of Byte Reads from cache : 0
## No. of Byte Reads from File : 0
## No. of Byte Reads from Url : 0
#### Cumulative Cache Stats: N 0, B 0, H 0, M 0
#### No. of HTTP retries : 0
Run 0 end. Total memory=1048568 free memory=850152
======= _200_check Finished in 0.23 secs
This can be seen in 1.2beta4 and 1.1.6.
- backported by
-
JDK-2020990 symcjit 048 returns invalid results with _200_check of SpecJava (V20)
- Resolved