Simplify clearing References

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 16
    • Component/s: hotspot
    • gc
    • b26

      We have various functions in the collectors that ultimately converge on java_lang_ref_Reference::set_referent_raw(oop). But all of those code paths are just clearing the referent, so the oop argument is always NULL. This could be simplified and made clearer by instead having java_lang_ref_Reference::clear_referent() and using similar naming in the callers.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: