RFR: Only clear requested gc cause when it is handled
Kelvin Nilsen
kdnilsen at openjdk.java.net
Fri Apr 22 15:47:29 UTC 2022
On Fri, 22 Apr 2022 15:38:52 GMT, William Kemper <wkemper at openjdk.org> wrote:
> Do not unconditionally clear `_requested_gc_cause` on every idle iteration of the control loop as this may erroneously over-write a request to perform a GC cycle. With this change, `_requested_gc_cause` is only cleared when a gc request is handled.
Marked as reviewed by kdnilsen (Committer).
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/135
More information about the shenandoah-dev
mailing list