List verification enabled in product builds

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: hotspot
    • None
    • gc
    • b10

        List verification code has been accidentally enabled in product builds in one place. This may impact performance and it should be changed to only perform verification in debug builds.

        ConcurrentMark::completeCleanup() is currently calling _cleanup_list.verify_list(). This will unconditionally run the verification, even in product builds. This should be replaced with verify_optional() that only runs the verification code in debug builds.

              Assignee:
              Jesper Wilhelmsson
              Reporter:
              Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: