JDK-8132721 : Add tests which check that heap counters work as expected during Humongous allocations
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-07-30
  • Updated: 2016-02-25
  • Resolved: 2016-02-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b107Fixed
Related Reports
Blocks :  
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.