JDK-7021603 : crash in fill_sync_handler with ExtendedDTrace probes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2011-02-22
  • Updated: 2011-04-25
  • Resolved: 2011-04-25
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 7 Other
7Fixed hs21Fixed
Related Reports
Relates :  
Description
The changes for 6809483 added some callouts to notify dtrace for inlined methods.  in the fill_sync_handler path it's using the regular append call which expects there to be a ciBytecodeStream to get the current bci from but in the fill_sync_handler there is no stream so it crashes.  The code should be yse append_with_bci like the other existing code there.

Comments
EVALUATION 7021603: crash in fill_sync_handler with ExtendedDTrace probes Reviewed-by: iveresov The changes for 6809483 added some callouts to notify dtrace for inlined methods. In fill_sync_handler it's using the regular append call which expects there to be a ciBytecodeStream to get the current bci from but once you reach fill_sync_handler there is no stream so it crashes. The code should be use append_with_bci like the other existing code there. Tested with failing tests.
25-02-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/6f3746e69a78
25-02-2011