JDK-8041946 : CMM Testing: 8u40 an allocated humongous object at the end of the heap should not prevents shrinking the heap
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-25
  • Updated: 2015-06-03
  • Resolved: 2014-09-11
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 8 JDK 9
8u40Fixed 9 b33Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Test similar to  gc/g1/TestHumongousShrinkHeap.java is required. 

Test should allocate small objects mixed with humongous ones
        "ssssHssssHssssHssssHssssHssssHssssH"
Release all allocated object except the last humongous one
       "..................................H"
Invoke gc and check that memory returned to the system (amount of committed memory got down)
Comments
Requested tests is similar to one requested in JDK-8037925, but a bit different.
28-08-2014

JDK-8038423 is the issue that implements the functionality required for this test.
28-08-2014

Please add link to review.
15-07-2014

What's the story for 9?
05-06-2014