< prev index next >

src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp

Print this page
rev 58072 : [mq]: v2

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 20209, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -324,11 +324,11 @@
                                  address pc,
                                  address addr,
                                  JavaThread* thread,
                                  address* stub) {
   // check if fault address is within thread stack
-  if (thread->on_local_stack(addr)) {
+  if (thread->is_in_full_stack(addr)) {
     // stack overflow
     if (thread->in_stack_yellow_reserved_zone(addr)) {
       thread->disable_stack_yellow_reserved_zone();
       if (thread->thread_state() == _thread_in_Java) {
         // Throw a stack overflow exception.  Guard pages will be reenabled
< prev index next >