changeset 46667:ff7b9f61209e

8182164: checkByteBuffer has the wrong signature Reviewed-by: ehelin, stuefe Contributed-by: glaubitz@physik.fu-berlin.de
author ehelin
date Fri, 14 Jul 2017 14:00:10 +0200
parents 32434b633549
children f5a564180f37
files hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }