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

Product variable PrefetchFieldsAhead is unused and should be removed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 15
    • hotspot
    • gc
    • b10

      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.

            smonteith Stuart Monteith
            drwhite Derek White
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: