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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: