8245703: 32-bit build failures after JDK-8243392

Reviewed-by: dholmes, stuefe
This commit is contained in:
Aleksey Shipilev 2020-05-25 11:04:08 +02:00
parent 98cb95b7b7
commit 008d69e5e2

View File

@ -258,7 +258,9 @@ static void check_SharedBaseAddress() {
void MetaspaceShared::initialize_dumptime_shared_and_meta_spaces() {
assert(DumpSharedSpaces, "should be called for dump time only");
#ifdef _LP64
check_SharedBaseAddress();
#endif
const size_t reserve_alignment = MetaspaceShared::reserved_space_alignment();
char* shared_base = (char*)align_up((char*)SharedBaseAddress, reserve_alignment);