We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0cc92e4 + 21de4e5 commit 6632f4fCopy full SHA for 6632f4f
test/hotspot/jtreg/compiler/c2/aarch64/TestFarJump.java
@@ -74,9 +74,9 @@ static boolean containsADRP(String input) {
74
}
75
int dump = (int)Long.parseLong(match, 16);
76
int encoding = Integer.reverseBytes(dump);
77
- if (isADRP(encoding)) {
78
- return true;
79
- }
+ // Check the first instruction only. The raw pointer can be confused with the encoded adrp instruction:
+ // emit_exception_handler() = far_call() + should_not_reach_here() = ADRP + ADD + BLR + DCPS1 + raw_pointer
+ return isADRP(encoding);
80
81
return false;
82
0 commit comments