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

[Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 23
    • 22
    • hotspot
    • b17
    • windows

    Description

      os::infinite_sleep should only be used in very specific scenarios, and using it to satisfy compiler requirements for [[noreturn]] marked methods is a bad idea, since in the impossible case this will cause HotSpot to hang for a seemingly unknown reason. Fallthrough to std::abort instead, like other platforms do, to align Windows with them

      Attachments

        Issue Links

          Activity

            People

              jwaters Julian Waters
              jwaters Julian Waters
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: