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

List verification enabled in product builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: