Skip to content

Commit 4ef1387

Browse files
author
Andrew Haley
committed
Fix up any out-of-range offsets
1 parent e39ffd7 commit 4ef1387

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ void LIR_Assembler::increment_profile_ctr(LIR_Opr step, LIR_Opr dest_opr,
25262526

25272527
int profile_capture_ratio = ProfileCaptureRatio;
25282528
int ratio_shift = exact_log2(profile_capture_ratio);
2529-
unsigned long threshold = (UCONST64(1) << 32) >> ratio_shift;
2529+
uint64_t threshold = (UCONST64(1) << 32) >> ratio_shift;
25302530

25312531
assert(threshold > 0, "must be");
25322532

0 commit comments

Comments
 (0)