JDK-8056043 : G1 does not uncommit within the heap after JDK-8038423
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-08-26
  • Updated: 2017-07-26
  • Resolved: 2014-08-27
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 b30Fixed
Related Reports
Duplicate :  
Description
In JDK-8038423 shrinking of the heap within the heap has been implemented. Due to an oversight when splitting the code into JDK-8038423 and JDK-8054818 the policy to only allow shrinking at the end of the heap has been left in.

Fix this.
Comments
Regression test exists.
26-07-2017

The changeset includes identification of the regression test covering this issue via addition of this bugid to the @bugs list. A "noreg" Label is not needed.
10-10-2014

ILW: Impact: medium -> while not meeting specification (which is not done yet), there is no critical data loss/crash etc. Likelihood: high -> always when testing that use case Workaround: high -> none for that use case -> P2
26-08-2014