RFR: 8278396: G1: Initialize the BOT threshold to be region bottom
Stefan Johansson
sjohanss at openjdk.java.net
Tue Dec 21 12:10:16 UTC 2021
On Wed, 8 Dec 2021 09:43:06 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> This simple patch tightens the assert for offset card value and drops the special treatment of the first card for a region.
>
> Test: tier1-5
Marked as reviewed by sjohanss (Reviewer).
src/hotspot/share/gc/g1/heapRegion.cpp line 801:
> 799:
> 800: void HeapRegion::initialize_bot_threshold() {
> 801: _bot_part.reset_bot();
As a follow-up it might be nice to also rename the function here and update the usage to have matching naming for parameters and such.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6762
More information about the hotspot-gc-dev
mailing list