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

Remove unused and dead code from G1CollectorPolicy

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b109

      Description

      Unused member variables:
      _no_of_gc_threads (only get/set)
      _parallel_gc_threads (only used in constructor)
      _inc_cset_max_finger (only updated)
      _stop_world_start (only used by Trace*GenTime)

      Related methods:
      record_concurrent_pause()
      print_tracing_info()
      record_stop_world_start()

      Code related to Trace{Young,Old}GenTime
      The trace code has not been kept in sync with the phase times tracking for some time and keeping track of the times in two separate places leads to duplication issues.

      A quick google search turned up no references to Trace*GenTime flags other than webrevs and listings of all VM command line options.

        Attachments

          Activity

            People

            • Assignee:
              mgerdin Mikael Gerdin (Inactive)
              Reporter:
              mgerdin Mikael Gerdin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: