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

Remove unused code in the reference processor

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b66
    • CPU:
      generic
    • OS:
      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

                • Assignee:
                  kbarrett Kim Barrett
                  Reporter:
                  pliden Per Liden
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: