equal
deleted
inserted
replaced
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 |