RFR: 8334489: Add function os::used_memory [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Thu Jun 20 08:10:10 UTC 2024
On Wed, 19 Jun 2024 19:47:24 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:
> > Why would they be inconsistent? Change the limit at JVM runtime?
>
> Right. You can change the container size at JVM runtime, and I don't want to be caught off guard by that in my heuristics. There is an alpha kubernetes feature, InPlacePodVerticalScaling, for utilizing it already. So I much prefer doing the right thing and make this heuristic code robust in case someone starts using this.
OK. Making the JVM handle changing physical memory size at runtime will be a larger task, though.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19772#issuecomment-2180070108
More information about the hotspot-runtime-dev
mailing list