JDK-8370966 : Create regression test for the hierarchical memory limit fix in JDK-8370572
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-10-30
  • Updated: 2025-12-15
  • Resolved: 2025-11-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 26
26 b24Fixed
Related Reports
Relates :  
Relates :  
Description
This is a follow-up task for the fix in JDK-8370572 which needs to be delivered to the customer as quick as possible.

See: https://github.com/openjdk/jdk/pull/28006#issuecomment-3462760365
Comments
Fix Request (Openjdk 25u): Please allow this test-only change for OpenJDK 25u which includes a critical regression test for JDK-8370572 waiting for approval as well. Container tests pass on linux x86_64 cgroups v1 and cgroups v2 systems (the new test is skipped on cgroups v2). Patch from JDK 26 applies clean. I intend to integrate closely after JDK-8370572. JDK-8371769 would be a follow-up test fix after this is in.
12-12-2025

A pull request was submitted for review. Branch: pr/76 URL: https://git.openjdk.org/jdk25u-dev/pull/77 Date: 2025-12-11 13:49:40 +0000
11-12-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk25u-dev/pull/73 Date: 2025-12-10 09:04:49 +0000
10-12-2025

Changeset: 29100320 Branch: master Author: Severin Gehwolf <sgehwolf@openjdk.org> Date: 2025-11-11 09:18:27 +0000 URL: https://git.openjdk.org/jdk/commit/291003208c025ce4f9a94ba6093e207d0792bbb9
11-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28201 Date: 2025-11-07 16:41:26 +0000
07-11-2025

OK, thanks!
07-11-2025

[~sgehwolf], from a quick look, your test looks fine and is similar to what I proposed. Fell free to assign this issue to yourself and create a PR with your test.
07-11-2025

[~simonis] Are you still working on this? I needed something for JDK-8365606 so I've written this: https://github.com/jerboaa/jdk/commit/65e3d52c901eee5c201b545c3f85a51cac2880da It's failing prior the fix of JDK-8370572 and passing after (on cg v1). Skipped on cg v2.
07-11-2025