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

Product variable PrefetchFieldsAhead is unused and should be removed

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      The product variable "PrefetchFieldsAhead" is defined in gc_globals.hpp and set in vm_version_[x86|sparc].cpp. But it's not used anywhere, and probably hasn't been since at least JDK 1.5 (I couldn't find a use in JDK 6 anyway).

      There is a related getter "prefetch_fields_ahead()" in vm_version_[x86|sparc].hpp that should also be removed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              drwhite Derek White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: