< prev index next >

src/share/vm/prims/forte.hpp

Print this page

        

@@ -32,6 +32,22 @@
    static void register_stub(const char* name, address start, address end)
                                                  NOT_JVMTI_RETURN;
                                                  // register internal VM stub
 };
 
+// call frame copied from old .h file and renamed
+typedef struct {
+    jint lineno;                      // line number in the source file
+    jmethodID method_id;              // method executed in this frame
+} ASGCT_CallFrame;
+
+// call trace copied from old .h file and renamed
+typedef struct {
+    JNIEnv *env_id;                   // Env where trace was recorded
+    jint num_frames;                  // number of frames in this trace
+    ASGCT_CallFrame *frames;          // frames
+} ASGCT_CallTrace;
+
+extern "C"
+void AsyncGetCallTrace(ASGCT_CallTrace *trace, jint depth, void* ucontext);
+
 #endif // SHARE_VM_PRIMS_FORTE_HPP
< prev index next >