Skip to content


8282372: [11] build issue on MacOS/aarch64 12.2.1 using Xcode 13.1: c…
Browse files Browse the repository at this point in the history
…all to 'log2_intptr' is ambiguous

Reviewed-by: clanger
  • Loading branch information
GoeLin committed Feb 25, 2022
1 parent 68c6320 commit 80a2777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class MacroAssembler: public Assembler {
= (operand_valid_for_logical_immediate(false /*is32*/,
&& ((uint64_t)Universe::narrow_klass_base()
> (1ULL << log2_intptr(Universe::narrow_klass_range()))));
> (1ULL << log2_intptr(checked_cast<uintptr_t>(Universe::narrow_klass_range())))));

// These routines should emit JVMTI PopFrame and ForceEarlyReturn handling code.
Expand Down

1 comment on commit 80a2777

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.