RFR: 8269596: Snapshot soft ref policy before marking/copying

Albert Mingkun Yang ayang at openjdk.java.net
Thu Jul 1 12:46:24 UTC 2021


On Tue, 29 Jun 2021 14:58:10 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Set up soft ref policy before marking/copying for Serial, Parallel and G1. With this change, all collectors do soft-ref policy setup in the beginning of a GC cycle.

Merged `enable_discovery` and `setup_policy` into one call, and made `setup_policy` private.

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

PR: https://git.openjdk.java.net/jdk/pull/4624



More information about the hotspot-gc-dev mailing list