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

Remove check_ct_logs_at_safepoint()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • None
    • hotspot
    • gc
    • b40
    • generic
    • generic

    Backports

      Description

        The function G1CollectedHeap::check_ct_logs_at_safepoint() has no callers. It was added as part of the initial open source merge of G1 into the hotspot code base (https://bugs.openjdk.java.net/browse/JDK-6711316), and had no callers then either. Its purpose is to perform a consistency check between the card table and the dirty card logs. If something along those lines is needed for some future debugging task, it's easy enough to write a bespoke test when that time comes.

        Since this function isn't needed, it should be removed. Removal of that function also renders the helper class ClearLoggedCardTableEntryClosure unused, allowing it to be removed as well.

        Attachments

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: