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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b47

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: