RFR: 8317755: G1: Periodic GC interval should test for the last whole heap GC [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Nov 13 11:23:02 UTC 2023


On Wed, 18 Oct 2023 14:27:26 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> See the description in the bug. Fortunately, we already track the last whole-heap GC. The new regression test verifies the behavior.
>> 
>> Additional testing:
>>  - [x] Linux x86_64 fastdebug `tier1 tier2 tier3`
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8317755-g1-periodic-whole
>  - Optional flag
>  - Merge branch 'master' into JDK-8317755-g1-periodic-whole
>  - Keep the cast
>  - Fix

There is also the option to trigger full gcs on "idle"; would be fairly bad if they were triggered regularly with the `G1PeriodicGCCheckWholeHeap` option, and completely overkill for the https://bugs.openjdk.org/browse/JDK-8213198 case.

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

PR Comment: https://git.openjdk.org/jdk/pull/16107#issuecomment-1807967924


More information about the hotspot-gc-dev mailing list