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

G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass

    XMLWordPrintable

Details

    • gc
    • b26

    Backports

      Description

        For debug purposes G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes() accesses the size of the humongous object it is currently processing.

        In case of marked_bytes == 0, the object is actually dead, and the code should not access the klass any more.

        This currently does not matter because we purge the metaspace for unloaded classes after this code, but still this is ugly.

        Makes code that moves the purging before G1UpdateRemSetTrackingBeforeRebuild crash on some platforms (linux-x86).



        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: