We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d903a commit ab17f88Copy full SHA for ab17f88
src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
@@ -29,8 +29,9 @@
29
// machine-dependent parts of class relocInfo
30
private:
31
enum {
32
- // Relocations are byte-aligned.
33
- offset_unit = 1,
+ // AArch64 instructions are always 4 bytes long and 4-aligned, so
+ // the two lowest offset bits can always be discarded.
34
+ offset_unit = 4,
35
// Must be at least 1 for RelocInfo::narrow_oop_in_const.
36
format_width = 1
37
};
0 commit comments