mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-29 14:52:52 +00:00
8182164: checkByteBuffer has the wrong signature
Reviewed-by: ehelin, stuefe
This commit is contained in:
parent
298e379cb7
commit
bc1be30b50
@ -381,7 +381,7 @@ inline static bool checkPollingPage(address pc, address fault, address* stub) {
|
||||
return false;
|
||||
}
|
||||
|
||||
inline static bool checkByteBuffer(address pc, address npc, address* stub) {
|
||||
inline static bool checkByteBuffer(address pc, address npc, JavaThread * thread, address* stub) {
|
||||
// BugId 4454115: A read from a MappedByteBuffer can fault
|
||||
// here if the underlying file has been truncated.
|
||||
// Do not crash the VM in such a case.
|
||||
@ -573,7 +573,7 @@ JVM_handle_linux_signal(int sig,
|
||||
break;
|
||||
}
|
||||
|
||||
if ((sig == SIGBUS) && checkByteBuffer(pc, npc, &stub)) {
|
||||
if ((sig == SIGBUS) && checkByteBuffer(pc, npc, thread, &stub)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user