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

UseOSErrorReporting times out (on Mac and Linux)

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 16
    • hotspot
    • None
    • behavioral
    • minimal
    • It is unlikely anyone uses this flag on non-Windows due to the fact it doesn't work.
    • add/remove/modify command line option
    • Implementation

      Summary

      Make UseOSErrorReporting a Windows-only product flag

      Problem

      UseOSErrorReporting is defined as a cross-platform flag but only actually works on Windows (there is an open question on whether it works even on Windows). If you turn this on for other platforms you are guaranteed to trigger a 2 minute hang.

      Solution

      Make UseOSErrorReporting a Windows-only product flag.

      Specification

      Remove the definition from globals.hpp:

      !  product_pd(bool, UseOSErrorReporting,                                     \
      !          "Let VM fatal error propagate to the OS (ie. WER on Windows)")    \

      Add it to globals_windows.hpp:

      ! product(bool, UseOSErrorReporting, false,                                  \
      !        "Let VM fatal error propagate to the OS (ie. WER on Windows)")

            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: