United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7021603 crash in fill_sync_handler with ExtendedDTrace probes
JDK-7021603 : crash in fill_sync_handler with ExtendedDTrace probes

Details
Type:
Bug
Submit Date:
2011-02-22
Status:
Closed
Updated Date:
2011-04-25
Project Name:
JDK
Resolved Date:
2011-04-25
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b04)

Related Reports
Backport:
Relates:

Sub Tasks

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

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/6f3746e69a78
                                     
2011-02-25
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.
                                     
2011-02-25



Hardware and Software, Engineered to Work Together