Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
// machine-dependent parts of class relocInfo
private:
enum {
// Relocations are byte-aligned.
offset_unit = 1,
// AArch64 instructions are always 4 bytes long and 4-aligned, so
// the two lowest offset bits can always be discarded.
offset_unit = 4,
// Must be at least 1 for RelocInfo::narrow_oop_in_const.
format_width = 1
};
Expand Down