hotspot/src/cpu/zero/vm/stack_zero.cpp
changeset 5424 fc1c380199b0
parent 5418 c4955cb6ed33
child 5547 f4b087cbb361
--- a/hotspot/src/cpu/zero/vm/stack_zero.cpp	Wed May 05 05:57:21 2010 -0700
+++ b/hotspot/src/cpu/zero/vm/stack_zero.cpp	Thu May 06 02:09:18 2010 -0700
@@ -26,6 +26,11 @@
 #include "incls/_precompiled.incl"
 #include "incls/_stack_zero.cpp.incl"
 
+int ZeroStack::suggest_size(Thread *thread) const {
+  assert(needs_setup(), "already set up");
+  return align_size_down(abi_stack_available(thread) / 2, wordSize);
+}
+
 void ZeroStack::handle_overflow(TRAPS) {
   JavaThread *thread = (JavaThread *) THREAD;