diff src/share/vm/runtime/thread.hpp @ 11146:e619a2766bcc

8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()' Reviewed-by: jrose, kvn, mgronlun
author rbackman
date Wed, 12 Jun 2013 11:17:39 +0200
parents dbc0b5dc08f5
children 5e3b6f79d280
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Tue Jul 16 07:33:29 2013 +0200
+++ b/src/share/vm/runtime/thread.hpp	Wed Jun 12 11:17:39 2013 +0200
@@ -521,6 +521,9 @@
   // Check if address is in the stack of the thread (not just for locks).
   // Warning: the method can only be used on the running thread
   bool is_in_stack(address adr) const;
+  // Check if address is in the usable part of the stack (excludes protected
+  // guard pages)
+  bool is_in_usable_stack(address adr) const;
 
   // Sets this thread as starting thread. Returns failure if thread
   // creation fails due to lack of memory, too many threads etc.