JDK-8148786 : xml.transform fails on x86-64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u144,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86_64
  • Submitted: 2016-02-01
  • Updated: 2018-02-15
  • Resolved: 2016-02-22
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.
8u162Fixed 9 b110Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
xml.transform fails with validation errors early in a base run.  The jdk used is from jdk9/hs-comp -r b485e734ff2a and reproduces the issue. I also checked an earlier jdk which does not have the issue.  That jdk is jdk9/hs-comp -r 257396cd1763.  My jdks were built on windows and linux (for skx).  The problem reproduces on both 64-bit targets.
Looking at this again, I think 8u is affected as well but since we never backported JDK-8145322, the same problem is not triggered. However, we see crashes in CountedLoopEndNode::loopnode(), see JDK-8181921. I think the fix should be backported, I'm adding affects version 8u and the 8-bp label.

FTR, the fix for JDK-8145322 (resolved in b105) triggers this more often.

SPECjvm2008-XML is now failing with the same symptoms starting with 9-b105, and continuing into 9-b106; on all x64 platforms (Linux, Windows, Solaris, MacOS); but not on SPARC/Solaris.

Also on Solaris x64

I see this problem too, diff attached

C:\benchmarks>c:\Java9_0129_64\bin\java -jar SPECjvm2008.jar xml.transform -ikv -ict SPECjvm2008 Base Properties file: none Benchmarks: xml.transform WARNING: Run will not be compliant. Property specjvm.run.initial.check must be true for publication. Not a compliant sequence of benchmarks for publication. Property specjvm.run.checksum.validation must be true for publication. --- --- --- --- --- --- --- --- --- Benchmark: xml.transform Run mode: timed run Test type: multi Threads: 8 Warmup: 120s Iterations: 1 Run length: 240s Result of shared/REC-xml-19980210.xml.DOM transformation differs from canonical one. (Please send xml_out/shared.REC-xml-19980210.xml.DOM.out or xml_out/shared.REC-xml-19980210.xml.DOM. out.diff along with the reporter's result.) Warmup (120s) begins: Mon Feb 01 11:06:48 PST 2016 Warmup (120s) ends: Mon Feb 01 11:06:51 PST 2016 Warmup (120s) result: **NOT VALID** Errors in benchmark: xml.transform [warmup] Harness interruped during measurement period. [warmup][bt:6|op:1] Validation failure on line 14. Expected output: [013] shared/REC-xml-19980210.xml.SAX:PASSED [014] shared/REC-xml-19980210.xml.DOM:PASSED [015] shared/REC-xml-19980210.xml.Stream:PASSED [016] recipes/recipes.xml.SAX:PASSED [017] recipes/recipes.xml.DOM:PASSED [018] recipes/recipes.xml.Stream:PASSED [019] ... Received output: [013] shared/REC-xml-19980210.xml.SAX:PASSED [014] shared/REC-xml-19980210.xml.DOM:FAILED [015] shared/REC-xml-19980210.xml.Stream:PASSED [016] recipes/recipes.xml.SAX:PASSED [017] recipes/recipes.xml.DOM:PASSED [018] recipes/recipes.xml.Stream:PASSED [019] ... Complete output: C:\benchmarks\results\SPECjvm2008.107\xml.transform.bt6.i0.op1.error.log Validation file: C:\benchmarks\resources\xml.transform\validity.xml.transform.dat