JDK-8286189 : G1: Change "wasted" memory to "unused" memory in reporting
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-05-05
  • Updated: 2022-05-06
  • Resolved: 2022-05-06
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 19
19 masterFixed
Related Reports
Blocks :  
Description
For remembered sets G1 reports wasted memory in remembered set data structures.

The term "wasted" is a bit misleading as it might imply always unusable memory, or memory that can't be used ever.

However, what this meant to indicate is memory that we allocated too much because of our bulk allocators.

Rename to the more exact term "unused" everywhere.
Comments
Changeset: b9f43703 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2022-05-06 12:45:35 +0000 URL: https://git.openjdk.java.net/jdk/commit/b9f43703253f8505994cd614e1c9963b5062aa8e
06-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8550 Date: 2022-05-05 13:32:20 +0000
05-05-2022