< prev index next >
src/hotspot/os_cpu/solaris_x86/os_solaris_x86.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, 2020, 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.
@@ -138,15 +138,15 @@
DEBUG_ONLY(tty->print_cr("valid_ucontext: failed test 1");)
return false;
}
if (thread->is_Java_thread()) {
- if (!valid_stack_address(thread, (address)suspect)) {
+ if (!thread->is_in_full_stack((address)suspect)) {
DEBUG_ONLY(tty->print_cr("valid_ucontext: uc_link not in thread stack");)
return false;
}
- if (!valid_stack_address(thread, (address) suspect->uc_mcontext.gregs[REG_SP])) {
+ if (!thread->is_in_full_stack((address) suspect->uc_mcontext.gregs[REG_SP])) {
DEBUG_ONLY(tty->print_cr("valid_ucontext: stackpointer not in thread stack");)
return false;
}
}
return true;
< prev index next >