Skip to content

Commit

Permalink
8321512: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.…
Browse files Browse the repository at this point in the history
…java fails on 32-bit platforms

Reviewed-by: shade, iwalulya
  • Loading branch information
Thomas Schatzl committed Jan 24, 2024
1 parent 67f29b1 commit 8c003d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/hotspot/share/gc/g1/g1Arguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ void G1Arguments::initialize_card_set_configuration() {
G1RemSetArrayOfCardsEntriesBase << region_size_log_mb));
}

// Round to next 8 byte boundary for array to maximize space usage.
size_t const cur_size = G1CardSetArray::size_in_bytes(G1RemSetArrayOfCardsEntries);
FLAG_SET_ERGO(G1RemSetArrayOfCardsEntries,
G1RemSetArrayOfCardsEntries + (uint)(align_up(cur_size, G1CardSetAllocOptions::SlotAlignment) - cur_size) / sizeof(G1CardSetArray::EntryDataType));

// Howl card set container globals.
if (FLAG_IS_DEFAULT(G1RemSetHowlNumBuckets)) {
FLAG_SET_ERGO(G1RemSetHowlNumBuckets, G1CardSetHowl::num_buckets(HeapRegion::CardsPerRegion,
Expand Down

1 comment on commit 8c003d8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.