Skip to content

Commit

Permalink
8312392: ARM32 build broken since 8311035
Browse files Browse the repository at this point in the history
Reviewed-by: shade
  • Loading branch information
tstuefe committed Jul 19, 2023
1 parent c119037 commit d1c788c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/share/cds/metaspaceShared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1252,10 +1252,12 @@ char* MetaspaceShared::reserve_address_space_for_archives(FileMapInfo* static_ma
if (base_address != nullptr) {
assert(is_aligned(base_address, archive_space_alignment),
"Archive base address invalid: " PTR_FORMAT ".", p2i(base_address));
#ifdef _LP64
if (Metaspace::using_class_space()) {
assert(CompressedKlassPointers::is_valid_base(base_address),
"Archive base address invalid: " PTR_FORMAT ".", p2i(base_address));
}
#endif
}

if (!Metaspace::using_class_space()) {
Expand Down

1 comment on commit d1c788c

@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.