# HG changeset patch # User ehelin # Date 1500033610 -7200 # Node ID ff7b9f61209e6b1055a72f8ea1a62e6faa7721ac # Parent 32434b633549fdae9ec3220468dec21a45a08ae0 8182164: checkByteBuffer has the wrong signature Reviewed-by: ehelin, stuefe Contributed-by: glaubitz@physik.fu-berlin.de diff -r 32434b633549 -r ff7b9f61209e hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp --- a/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Fri Jul 14 13:57:10 2017 +0200 +++ b/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Fri Jul 14 14:00:10 2017 +0200 @@ -381,7 +381,7 @@ 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 @@ break; } - if ((sig == SIGBUS) && checkByteBuffer(pc, npc, &stub)) { + if ((sig == SIGBUS) && checkByteBuffer(pc, npc, thread, &stub)) { break; }