mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-21 21:33:07 +00:00
8284681: compiler/c2/aarch64/TestFarJump.java fails with "RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction"
Reviewed-by: kvn
This commit is contained in:
parent
9695283458
commit
21de4e55b8
@ -74,9 +74,9 @@ public class TestFarJump {
|
||||
}
|
||||
int dump = (int)Long.parseLong(match, 16);
|
||||
int encoding = Integer.reverseBytes(dump);
|
||||
if (isADRP(encoding)) {
|
||||
return true;
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user