Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8244107: Incorrect parameters in ReservedSpace constructor change
Browse files Browse the repository at this point in the history
Revert cardTable.cpp change from JDK-8243393.

Reviewed-by: dholmes
  • Loading branch information
coleenp committed Apr 30, 2020
1 parent d74e4f2 commit c37bd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/cardTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void CardTable::initialize() {

const size_t rs_align = _page_size == (size_t) os::vm_page_size() ? 0 :
MAX2(_page_size, (size_t) os::vm_allocation_granularity());
ReservedSpace heap_rs(_byte_map_size, rs_align);
ReservedSpace heap_rs(_byte_map_size, rs_align, false);

MemTracker::record_virtual_memory_type((address)heap_rs.base(), mtGC);

Expand Down

0 comments on commit c37bd06

Please sign in to comment.