Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6655385

Disable frame pointer omission in jvm.dll on Windows for better crash logs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs12
    • 7
    • hotspot
    • None
    • b02
    • x86
    • windows
    • Not verified

        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

              sbohne Steve Bohne (Inactive)
              sbohne Steve Bohne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: