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

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • hs25
    • hotspot
    • None
    • b06

        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.

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

                Created:
                Updated:
                Resolved: