src/os/solaris/vm/os_solaris.cpp

changeset 3606
da4be62fb889
parent 3516
869be5c8882e
child 3783
7432b9db36ff
equal deleted inserted replaced
3605:c7987cbaf2ca 3606:da4be62fb889
1009 return false; 1009 return false;
1010 } 1010 }
1011 1011
1012 extern "C" void breakpoint() { 1012 extern "C" void breakpoint() {
1013 // use debugger to set breakpoint here 1013 // use debugger to set breakpoint here
1014 }
1015
1016 // Returns an estimate of the current stack pointer. Result must be guaranteed to
1017 // point into the calling threads stack, and be no lower than the current stack
1018 // pointer.
1019 address os::current_stack_pointer() {
1020 volatile int dummy;
1021 address sp = (address)&dummy + 8; // %%%% need to confirm if this is right
1022 return sp;
1023 } 1014 }
1024 1015
1025 static thread_t main_thread; 1016 static thread_t main_thread;
1026 1017
1027 // Thread start routine for all new Java threads 1018 // Thread start routine for all new Java threads

mercurial