JDK-8236926 : Concurrently uncommit memory in G1
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-10
  • Updated: 2020-12-09
  • Resolved: 2020-11-19
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 16
16 b26Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8256691 :  
Description
Shrinking the heap by uncommitting regions in the safepoint takes a noticeable amount of time, particularly for large shrinks.

An alternative would be to move the slow part, i.e. the actual uncommit, into a concurrent operation.
Comments
Changeset: b8244b60 Author: Stefan Johansson <sjohanss@openjdk.org> Date: 2020-11-19 17:55:33 +0000 URL: https://github.com/openjdk/jdk/commit/b8244b60
19-11-2020