JDK-6822333 : _call_stub_compiled_return address handling in SA is broken causing jstack to hang occasionally
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: x86
  • Submitted: 2009-03-26
  • Updated: 2010-04-02
  • Resolved: 2009-04-08
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.
JDK 6 JDK 7 Other
6u18Fixed 7Fixed hs15Fixed
Related Reports
Relates :  
Relates :  
Description
As part of the rewrite for 5082720 special return entry points were added to the interpreter to correct the state of the fpu stack.  Stack walking the in SA has to understand this as well and changes were made there to look for the special field _call_stub_compiled_return_address and use it if it existed.  Unfortunately the SA is looking in the wrong place for the field and never finds it.  It's checking StubRoutines when in fact it should be looking for StubRoutines::x86 or StubRoutines::i486 in releases before the unifaction of the assemblers.  This results in occasional hangs when using jstack on x86.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/4948e7dd28dc
28-03-2009