RFR: 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container

Jan Kratochvil jkratochvil at openjdk.org
Mon Apr 22 13:59:30 UTC 2024


On Fri, 19 Apr 2024 05:18:51 GMT, Laurence Cable <larry.cable at oracle.com> wrote:

> I think (I am agreeing with you Severin) that the goal of the heuristic is to inform the JVM (and any associated serviceability tools) that the JVM is in a resource constrained/managed execution context...

"resource constrained" (my patch) vs. "managed" (this patch) is the difference of the two patches being discussed.

Anyway in this patch one could unify naming across variables/parameters, the same value is called `_is_ro`, `is_read_only`, `ro_opt`, `read_only`, `ro`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18201#issuecomment-2069537759


More information about the core-libs-dev mailing list