hotspot/src/os/windows/vm/os_windows.cpp
changeset 11961 0abd4cd26e5a
parent 11639 ff8cfc20d5cb
child 12593 b0e4fdf19f29
equal deleted inserted replaced
11960:57898a1b4b44 11961:0abd4cd26e5a
   320 }
   320 }
   321 
   321 
   322 // Invoked from the BREAKPOINT Macro
   322 // Invoked from the BREAKPOINT Macro
   323 extern "C" void breakpoint() {
   323 extern "C" void breakpoint() {
   324   os::breakpoint();
   324   os::breakpoint();
   325 }
       
   326 
       
   327 // Returns an estimate of the current stack pointer. Result must be guaranteed
       
   328 // to point into the calling threads stack, and be no lower than the current
       
   329 // stack pointer.
       
   330 
       
   331 address os::current_stack_pointer() {
       
   332   int dummy;
       
   333   address sp = (address)&dummy;
       
   334   return sp;
       
   335 }
   325 }
   336 
   326 
   337 // os::current_stack_base()
   327 // os::current_stack_base()
   338 //
   328 //
   339 //   Returns the base of the stack, which is the stack's
   329 //   Returns the base of the stack, which is the stack's