JDK-8325496 : Make TrimNativeHeapInterval a product switch
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-02-08
  • Updated: 2024-02-29
  • Resolved: 2024-02-21
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 17 JDK 21 JDK 22 JDK 23
17.0.12Fixed 21.0.3Fixed 22.0.1Fixed 23 b11Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8325612 :  
Description
Since its inception with JDK-8293114, `TrimNativeHeapInterval` has been an experimental switch out of an abundance of cautiousness.

Since then, it has proved valuable to customers when reducing memory footprint. All issues seem to have been resolved.

Therefore, I'd like to make this switch an official product switch, without the experimental moniker.
Comments
[17u] ... and the CSR is approved for 17.
29-02-2024

jdk17u-dev backport request I would like to have the patch in jdk17u-dev as well, because it would be beneficial for some users to use have it. The backport is mostly clean (except the COPYRIGHT years and slightly other format in mapage file java.1) and low risk.
27-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2244 Date: 2024-02-27 16:12:51 +0000
27-02-2024

jdk21u-dev backport request I would like to have the patch in jdk21u-dev as well, because it would be beneficial for some users to use have it. The backport is clean (except the COPYRIGHT year in mapage file java.1) and low risk.
23-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/284 Date: 2024-02-23 08:51:44 +0000
23-02-2024

jdk22 backport request I would like to have the patch in jdk22u as well, because it would be beneficial for some users to use have it. The backport is clean and low risk.
22-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk22u/pull/64 Date: 2024-02-22 13:44:10 +0000
22-02-2024

Changeset: d31fd78d Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2024-02-21 04:39:09 +0000 URL: https://git.openjdk.org/jdk/commit/d31fd78d963d5d103b1b1bf66ae0bdbe4be2b790
21-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17799 Date: 2024-02-10 09:57:56 +0000
12-02-2024