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

Extend WhiteBox API with methods that check monitor state and force safepoint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u60, 9
    • hotspot
    • b47

        Following methods should be added to WhiteBox API in order to fix existing issues in tests on RTM-based lock elision and increase robustness:
        - boolean isMonitorInflated(Object obj)
        - void forceSafepoint()

        forceSafepoint is required for deflation of all inflated monitors.

              fzhinkin Filipp Zhinkin
              fzhinkin Filipp Zhinkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: