RFR: 8057586: Explicit GC ignored if GCLocker is active [v5]

Albert Mingkun Yang ayang at openjdk.org
Tue Apr 18 13:34:54 UTC 2023


On Tue, 18 Apr 2023 12:34:03 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Yes, it is intended.

Then, even non-explicit-gc (e.g. `_metadata_GC_threshold` or some other gc-cause) would get "guarantee that at least a Full GC is executed", not matching the title of this ticket.

> Yeah, I did think about this. I can revert it.

Thank you.

> one is enough to trigger the error if one exists

Well, there could be concurrent issues also. I'd feel more comfortable if it's > 1. (I suggest using 4, just to match its neighbor.)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13191#discussion_r1170044109
PR Review Comment: https://git.openjdk.org/jdk/pull/13191#discussion_r1170043892


More information about the hotspot-gc-dev mailing list