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

Albert Mingkun Yang ayang at openjdk.org
Tue Jul 2 08:56:18 UTC 2024


On Tue, 2 Jul 2024 06:57:41 GMT, Liang Mao <lmao at openjdk.org> wrote:

> It's for fixing the issue should_clear_all_soft_refs is not reset after Parallel Full GC.
> 
> Tested test/hotspot/jtreg/gc with -XX:+UseParallelGC

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.

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

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


More information about the hotspot-gc-dev mailing list