JDK-6434117 : jdk1.5.0_08 core dumps when using -XX:+UseBiasedLocking
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0u8,5.0u11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris,solaris_10,windows_xp
  • CPU: x86,sparc
  • Submitted: 2006-06-05
  • Updated: 2014-02-27
  • Resolved: 2006-08-09
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.0u10 b01Fixed 6Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
see comments

SUGGESTED FIX http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/1.5/tiger_update9_baseline/2006/20060629135956.kbr.tiger_update_baseline/workspace/webrevs/webrev-2006.06.29/index.html

EVALUATION Suggested fix by ###@###.### and ###@###.### restricts register masks for values that can show up in debug info for compiles of native wrappers and stubs so they are not allocated into registers.

EVALUATION The problem appears to be in the debug information generated for synchronized native methods. The receiver is reported as being in edx but the RegisterMap doesn't have a valid on-stack location for that register since we're in a compiled native wrapper and there's no runtime stub above this frame. The attached test case reproduces the problem; still working on a fix.