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

compiler/rtm/locking/TestRTMLockingThreshold test may fail if transaction was aborted by interrupt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8u20, 9
    • hotspot
    • b48

    Backports

      Description

        One of compiler/rtm/locking/TestRTMLockingThreshold testcases verifies that method will be recompiled on low abort ratio w/ LockingThreshold=0.
        Test artificially abort every second transaction, so with LockingThreshold=0, first abort will happened on second transaction. Test verifies that there is exactly two transaction's and one abort.
        However, abortion may happen during first transaction due to h/w interrupt. In this case method will be recompiled after first abort as it should, but test will fail because there will be only one transaction.

        This issue is very intermittent and reproduces ~ once per 1000 runs.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: