RFR: 8262953: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails if CPU quoata is not enabled
David Holmes
david.holmes at oracle.com
Fri Apr 16 05:24:03 UTC 2021
On 16/04/2021 2:18 pm, Yasumasa Suenaga wrote:
> On Fri, 16 Apr 2021 02:34:13 GMT, David Holmes <david.holmes at oracle.com> wrote:
>
>>> I agree with David, I think we should throw SkipException in this case.
>>
>> That is not at all what I was suggesting. :) Rather than fixing the test
>> I think our cgroup support code needs to be updated to account for this
>> situation.
>
> Yeah, it is much better if we can improve cgroups support code! I think it will work on [JDK-8261242](https://bugs.openjdk.java.net/browse/JDK-8261242), but it does not seem to active.
> In addition we also need to consider about JMX like [JDK-8265104](https://bugs.openjdk.java.net/browse/JDK-8265104) (PR #3447 ).
I was thinking more simply that callers to
./os/linux/cgroupSubsystem_linux.hpp:#define GET_CONTAINER_INFO
should not be so quick to ignore things when it returns
OSCONTAINER_ERROR, but should instead report the defined "not present"
values.
David
> -------------
>
> PR: https://git.openjdk.java.net/jdk/pull/3206
>
More information about the hotspot-runtime-dev
mailing list