Skip to content

Commit

Permalink
* fix compilation after merge
Browse files Browse the repository at this point in the history
y
  • Loading branch information
tschatzl committed Jan 7, 2025
1 parent ae0d775 commit 10f7bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/gc/g1/g1CollectedHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,8 @@ jint G1CollectedHeap::initialize() {
initialize_reserved_region(heap_rs);

// Create the barrier set for the entire reserved region.
_card_table = new G1CardTable(heap_rs.region());
_refinement_table = new G1CardTable(heap_rs.region());
_card_table = new G1CardTable(_reserved);
_refinement_table = new G1CardTable(_reserved);

G1BarrierSet* bs = new G1BarrierSet(_card_table, _refinement_table);
bs->initialize();
Expand Down

0 comments on commit 10f7bf3

Please sign in to comment.