[EXTERNAL] Re: Moving Forward with AHS for G1

Monica Beckwith Monica.Beckwith at microsoft.com
Wed Mar 26 00:48:39 UTC 2025


Hi Man,

Thanks for the update — great to see your patch moving forward.

Your changes look well-aligned with the direction Thomas outlined and what I summarized earlier: SoftMaxHeapSize guiding committed memory, integrated into resizing and IHOP logic, without overriding other tunables or introducing hard caps.

I’ve updated JDK-8236073 to reflect both your and Thomas’s contributions and reassigned it to you. This change forms a solid foundation as we move toward a more responsive, multi-signal controller (AHS) for G1.

Appreciate you picking this up and looking forward to seeing the PR evolve.

Best,
Monica



[cid:7f20e45b-54c7-47bb-9434-f9eefbbb0a22]<https://outlook.office.com/bookwithme/user/6dc2f1f46dfd446aa456d1c1245cecd6@microsoft.com?anonymous&ep=bwmEmailSignature>
Book time to meet with me<https://outlook.office.com/bookwithme/user/6dc2f1f46dfd446aa456d1c1245cecd6@microsoft.com?anonymous&ep=bwmEmailSignature>
________________________________
From: Man Cao <manc at google.com>
Sent: Friday, March 21, 2025 5:54 PM
To: Monica Beckwith <Monica.Beckwith at microsoft.com>
Cc: Thomas Schatzl <thomas.schatzl at oracle.com>; hotspot-gc-dev at openjdk.org <hotspot-gc-dev at openjdk.org>
Subject: [EXTERNAL] Re: Moving Forward with AHS for G1

Thank you for the summary and volunteering on this work! Apology for the lack of response from our side, due to other tasks and priorities.
I have been experimenting with implementing SoftMaxHeapSize for G1 (JDK-8236073), and using this knob instead of ProposedHeapSize for Google's AHS project. I could probably send out a Github PR next week.
>From our side, we would really like to make sure the implementation for SoftMaxHeapSize (JDK-8236073) and CurrentMaxHeapSize (JDK-8204088) work with Google's AHS project. It would be more effective if we could test with our internal workload and benchmarks during development.
Is it OK if I pick up the work for SoftMaxHeapSize (JDK-8236073) and CurrentMaxHeapSize (JDK-8204088)?

-Man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20250326/255615a3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-riazr0nt.png
Type: image/png
Size: 528 bytes
Desc: Outlook-riazr0nt.png
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20250326/255615a3/Outlook-riazr0nt-0001.png>


More information about the hotspot-gc-dev mailing list