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

G1 old gen allocation tracking is not in a separate class

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 14, 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Build:
      b99
    • Introduced In Version:
      9
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      generic

      Description

      To better shape fixing JDK-8245511, this was suggested in its comments:
      "- one other improvement could be to put the old gen allocation tracking into its own class (e.g. G1OldGenAllocationTracker; which G1Policy has an instance of) to not add too much detail to the IHOP code itself. In G1IHOPControl::update_allocation_info() then pass the expected allocation rate as experienced by/relevant to the IHOP control as it is in now its respective components. "

      In general, the enhancement proposal is to track old gen allocations in a separate class so that this concern can be worked upon in a more clearly/cleanly delineated source code context. After implementing this refactoring cleanly, without any change in behavior, other improvements can follow.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bmathiske Bernd Mathiske
                Reporter:
                bmathiske Bernd Mathiske
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: