hotspot/src/cpu/zero/vm/stack_zero.hpp
changeset 5424 fc1c380199b0
parent 5418 c4955cb6ed33
child 5547 f4b087cbb361
--- a/hotspot/src/cpu/zero/vm/stack_zero.hpp	Wed May 05 05:57:21 2010 -0700
+++ b/hotspot/src/cpu/zero/vm/stack_zero.hpp	Thu May 06 02:09:18 2010 -0700
@@ -42,6 +42,8 @@
     return _base == NULL;
   }
 
+  int suggest_size(Thread *thread) const;
+
   void setup(void *mem, size_t size) {
     assert(needs_setup(), "already set up");
     assert(!(size & WordAlignmentMask), "unaligned");
@@ -67,6 +69,9 @@
     _sp = new_sp;
   }
 
+  int total_words() const {
+    return _top - _base;
+  }
   int available_words() const {
     return _sp - _base;
   }
@@ -89,6 +94,7 @@
   int shadow_pages_size() const {
     return _shadow_pages_size;
   }
+  int abi_stack_available(Thread *thread) const;
 
  public:
   void overflow_check(int required_words, TRAPS);