Skip null for make_referent_alive in referenceProcessor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • None
    • gc
    • b18

      In ref-processing, references with live referents are dropped from the discovered list, and their referents are mark live by calling `DiscoveredListIterator::make_referent_alive`.

      It's not necessary to do so for null referent, and it's confusing as well -- what does it mean to make a null referent live.

      Add referent != null as a precondition for make_referent_alive.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: