JDK-5087041 : Tiger b62 vm crashes in client compiler
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_2,windows_xp
  • CPU: x86
  • Submitted: 2004-08-14
  • Updated: 2012-10-09
  • Resolved: 2004-09-20
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.
Other JDK 6
5.0u1 01Fixed 6Fixed
Related Reports
Duplicate :  
Description
"java -client" crashes when running customer's application. Same test runs fine with server compiler. A hs_err log file is attached. The class which was being compiled when client compiler crashed is also attached.

When the bad method is excluded, customer's app is able to run successfully.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.5.0_01 mustang FIXED IN: 1.5.0_01 mustang INTEGRATED IN: 1.5.0_01 mustang
24-09-2004

PUBLIC COMMENTS Integrated in build 05
24-09-2004

EVALUATION The crash was caused by conditional expression elimination in conjunction with the fabrication of an unloaded class constant, which is a new construct as of 1.5. CEE attempts to fabricate a new copy of the Constant node in the IR but does not understand the fact that the original Constant is unloaded and may need patching. Most likely this optimization would not handle the patching case so the simplest fix is to disable the optimization if the constant class is not yet loaded. ###@###.### 2004-08-25 Fixed in 1.5.0_01 and 1.6 workspaces. ###@###.### 2004-09-14
25-08-2004