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

G1 does not always scan CLDG references to the old gen potentially causing problems with eager reclaim

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • hotspot
    • gc

      G1 does not actually scan all roots during a young gc (not all metadata for example). So if we ever have metadata (from metaspace) pointing directly to humongous object in the java heap we're screwed, because eager reclaim may just remove that object.

      (This is due to the assumption that old gen data is not moved during young-only gcs)

      Add some verification code for this case.

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

              Created:
              Updated: