RFR: 8360651: Create OSContainer API for memory limit [v2]

Severin Gehwolf sgehwolf at openjdk.org
Wed Sep 17 14:42:26 UTC 2025


On Wed, 10 Sep 2025 16:12:42 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Is the copyright still correct?

I'll update to the IBM one.

> test/hotspot/jtreg/containers/docker/TestContainerMemory.java line 62:
> 
>> 60:         try {
>> 61:             testWithMemoryLimit();
>> 62:             testWithoutMemoryLimit();
> 
> Just a remark, if you do these as separate tests (separate `@test` blocks), you can parallelize their execution and start them separately via jtreg command line if needed.

I'm not sure if this would work for the container tests, which build a container image first and then run the tests on it. But it's good to know otherwise. Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/26020#issuecomment-3303334929
PR Review Comment: https://git.openjdk.org/jdk/pull/26020#discussion_r2355763774


More information about the hotspot-dev mailing list