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

Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Backports

        Description

        Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...).

        Warnings are mostly ignored during testing - tests rarely looks at VM output.
        This warning may manifest about serious problem which is hard to diagnose (deadlock between VM thread & suspended Java thread).

        The crash log will contain enough information to find the place where a VM lock is taken, since the check is performed on a thread which hold the lock.

        Inspired by JDK-8023461.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                vlivanov Vladimir Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: