518 // 2) For native method |
518 // 2) For native method |
519 // lineno - (-3) |
519 // lineno - (-3) |
520 // method_id - jmethodID of the method being executed |
520 // method_id - jmethodID of the method being executed |
521 |
521 |
522 extern "C" { |
522 extern "C" { |
|
523 JNIEXPORT |
523 void AsyncGetCallTrace(ASGCT_CallTrace *trace, jint depth, void* ucontext) { |
524 void AsyncGetCallTrace(ASGCT_CallTrace *trace, jint depth, void* ucontext) { |
524 |
525 |
525 // This is if'd out because we no longer use thread suspension. |
526 // This is if'd out because we no longer use thread suspension. |
526 // However if someone wanted to backport this to a 5.0 jvm then this |
527 // However if someone wanted to backport this to a 5.0 jvm then this |
527 // code would be important. |
528 // code would be important. |