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

Remove unused code in the reference processor

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b66
    • generic
    • generic

    Backports

      Description

        In JDK 7u2 the way the reference processor manages the pending list was changed. This was done as part of JDK-4965777. The code to support the old behavior is still there, but haven't been used for a long time and could be removed.

        This basically means that code using ReferenceProcessor::pending_list_uses_discovered_field() should be cleaned up and ReferenceProcessor::pending_list_uses_discovered_field() should be removed. The following files are affected.

        prims/jvm.h
        runtime/java.hpp
        runtime/java.cpp
        oops/instanceRefKlass.cpp
        memory/referenceProcessor.hpp
        memory/referenceProcessor.cpp

        Attachments

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                pliden Per Liden (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: