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

G1: Replace collector state booleans with explicit state variable(s)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 9
    • hotspot
    • gc

    Description

      The current state of the G1 collector is encapsulated in the g1CollectorState class, but the state is scattered over a set of 12 booleans. The actual number of legal states is less than 10, so there are 4000+ illegal combinations of those booleans :-)

      The state should be replaced by one (or a few) proper state variables with a proper state machine managing legal transitions between states.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              drwhite Derek White
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 weeks
                  2w
                  Remaining:
                  Remaining Estimate - 2 weeks
                  2w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified