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

G1 old gen allocation tracking is not in a separate class

XMLWordPrintable

    • gc
    • b99
    • 9
    • b27
    • generic
    • generic

        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.

              bmathiske Bernd Mathiske
              bmathiske Bernd Mathiske
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: