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

Add tests which check that heap counters work as expected during Humongous allocations

    Details

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

      Description

      Humongous objects always take up a number of regions. If humongous object is smaller than one region it takes up the whole region. If a humongous object is larger than N regions and smaller than (N+1) regions it takes up (N+1) regions. No allocations are allowed in the free space (if any) of the last region.

       * free heap size should provide right values after humongous allocation.
       * amount of free regions should be right after humongous allocation.
       * amount of occupied regions should be right after humongous allocation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kzhaldyb Kirill Zhaldybin (Inactive)
                Reporter:
                kzhaldyb Kirill Zhaldybin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified