Remove notproduct option IgnoreLockingAssertions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: hotspot
    • None
    • b19

      The IgnoreLockingAssertions notproduct option is documented as "disable locking assertions (for speed)". The code it is protecting against executing is debug-only in assert_locked_or_safepoint, assert_locked_or_safepoint_weak, and assert_lock_strong. None of the relevant code is all that expensive, and there are much worse costs incurred by debug builds than these, making the "for speed" effect in the noise.

      This option is temporarily forced true by vtableEntry::verify, potentially masking bugs.

      This option should be removed.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: