[jdk25u-dev] RFR: 8370572: Cgroups hierarchical memory limit is not honored after JDK-8322420

Severin Gehwolf sgehwolf at openjdk.org
Mon Dec 15 15:59:59 UTC 2025


On Mon, 15 Dec 2025 15:51:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> The patch for JDK 25 won't be the same as in mainline at some point. This is nothing new when doing backports and needs to be evaluated on a case by case basis. In this case JDK-8292984 not being there in 25 makes the patch divergent. Just dragging in JDK-8292984 for sake of this fix doesn't strike me as a better risk/benefit balance. That's what it ultimately boils down to: Backport X patches as a dependency or do a reduced fix by rewriting some parts. IMO, rewriting some parts is the less risky approach for 25 and 21 that's why I've chosen this approach. It has been tested with the regression test written for that purpose.
>> 
>> With that said, I'd appreciate help in testing the patch if you have some means to test it outside the regression test.
>
> Well, if the testing you want, then consider again, we picked up the *mainline* version into Corretto 25, just changing a variable name: https://github.com/corretto/corretto-25/commit/d38805b294493ad7a7e582286d64a874121417f8, https://github.com/corretto/corretto-25/pull/26/ -- and not only we tested it on our case scenarios, it is currently running in production for 6+ weeks, including the services we knew ran into the trouble the patch fixes. You don't get better testing than that! :)

That doesn't help for JDK 21, does it? If this version goes in, it would be the same patch for JDK 21.

-------------

PR Review Comment: https://git.openjdk.org/jdk25u-dev/pull/76#discussion_r2619981288


More information about the jdk-updates-dev mailing list