RFR: 8367319: Add os interfaces to get machine and container values separately [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Tue Oct 7 12:22:56 UTC 2025
On Tue, 7 Oct 2025 09:47:51 GMT, Casper Norrbin <cnorrbin at openjdk.org> wrote:
> > This will conflict mightily with the refactoring that I'm working on for https://bugs.openjdk.org/browse/JDK-8365606
>
> Understood, thanks for flagging that. The amount of change in the container layer isn't that big except for `CgroupUtil::processor_count()`, which wasn't of a java type to begin with. Is there something I could change to lessen the conflict at all?
Separating out the `processor_count()` change would be good (irrespective of the conflict). But other than that, I'd think there isn't really a good way. Perhaps to wait for JDK-8365606 to land as those are way more changes to deal with rather than what is done here. I.e. merge should be simpler. I should have something ready by end of the week, fwiw.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27646#issuecomment-3376641522
More information about the hotspot-dev
mailing list