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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: hotspot
    • b48

        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.

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

                Created:
                Updated:
                Resolved: