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

Liang Mao lmao at openjdk.org
Tue Jul 2 07:02:24 UTC 2024


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

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

Commit messages:
 - 8335493: ClearedAllSoftRefs::~ClearedAllSoftRefs should reset SoftRefPolicy::_should_clear_all_soft_refs

Changes: https://git.openjdk.org/jdk/pull/19982/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19982&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335493
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19982.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19982/head:pull/19982

PR: https://git.openjdk.org/jdk/pull/19982


More information about the hotspot-gc-dev mailing list