RFR: JDK-8312018: Improve zero-base-optimized reservation of class space [v2]

Thomas Stuefe stuefe at openjdk.org
Fri Jul 14 13:06:48 UTC 2023


On Fri, 14 Jul 2023 11:47:57 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> I am not familiar enough with these places of HotSpot (and the OSes, for that matter), but I have questions/comments.

Thank you Roman. I worked in your feedback; while testing I found an off-by-one, and a minor flaw with tracing.

About your procfs question, this should be safe. We only do this once, at start, and have a reasonable fallback. Note that hotspot already reads from this file for other purposes, it seems to work well.

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

PR Comment: https://git.openjdk.org/jdk/pull/14867#issuecomment-1635831870


More information about the hotspot-dev mailing list