RFR: 8335493: ClearedAllSoftRefs::~ClearedAllSoftRefs should reset SoftRefPolicy::_should_clear_all_soft_refs

Liang Mao lmao at openjdk.org
Tue Jul 2 09:00:19 UTC 2024


On Tue, 2 Jul 2024 08:53:33 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Inspecting the existing call chains of `set_should_clear_all_soft_refs`, I can see that Parallel full-gc already invokes it via adaptive-size-policy.

Yes, set_should_clear_all_soft_refs will be set to true adaptively but never reset to false.

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

PR Comment: https://git.openjdk.org/jdk/pull/19982#issuecomment-2202375892


More information about the hotspot-gc-dev mailing list