RFR: 8279008: G1: Calculate BOT threshold on-the-fly during Object Copy phase

Thomas Schatzl tschatzl at openjdk.java.net
Mon Jan 10 10:33:34 UTC 2022


On Wed, 22 Dec 2021 12:48:03 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple change of unifying BOT logic for PLAB and direct allocation during GC.
> 
> Test: tier1-6; no difference observed while running BigRamTester, SPECjbb2015

Marked as reviewed by tschatzl (Reviewer).

src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp line 34:

> 32: #include "runtime/atomic.hpp"
> 33: 
> 34: inline HeapWord* G1BlockOffsetTablePart::align_up_by_card_size(HeapWord* const addr) const{

Suggestion:

inline HeapWord* G1BlockOffsetTablePart::align_up_by_card_size(HeapWord* const addr) const {

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

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



More information about the hotspot-gc-dev mailing list