src/os/windows/vm/os_windows.cpp

changeset 3606
da4be62fb889
parent 3502
379b22e03c32
child 3747
ec15e8f6e4f1
equal deleted inserted replaced
3605:c7987cbaf2ca 3606:da4be62fb889
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

mercurial