United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6655385 Disable frame pointer omission in jvm.dll on Windows for better crash logs
JDK-6655385 : Disable frame pointer omission in jvm.dll on Windows for better crash logs

Details
Type:
Enhancement
Submit Date:
2008-01-25
Status:
Closed
Updated Date:
2013-08-07
Project Name:
JDK
Resolved Date:
2011-04-20
Component:
hotspot
OS:
windows
Sub-Component:
runtime
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs12 (b02)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Windows-only change to disable frame pointer omission with the C++ compiler.[1]  The reason for the change is to get better stack traces in crash logs when a crash occurs in jvm.dll.  Without this change we invariably get only a single jvm.dll frame in the crash log, which makes analysis of Windows field crash reports difficult.

The drawback is that ebp is no longer available as a general register to the C++ compiler.  (Generated code is not affected.)

[1] http://msdn2.microsoft.com/en-us/library/2kxx5t2c(VS.80).aspx

                                    

Comments
EVALUATION

Yes, see comments.
                                     
2008-01-31



Hardware and Software, Engineered to Work Together