提交 570c7c00 编写于 作者: A alanb

6927816: Demo crash in heaptracker with Non-Sun JDK due to possible violation of JNI spec

Reviewed-by: ohair, alanb
Contributed-by: spoole@uk.ibm.com
上级 0a0dd344
......@@ -340,7 +340,7 @@ tagObjectWithTraceInfo(jvmtiEnv *jvmti, jobject object, TraceInfo *tinfo)
}
/* Java Native Method for Object.<init> */
static void
static void JNICALL
HEAP_TRACKER_native_newobj(JNIEnv *env, jclass klass, jthread thread, jobject o)
{
TraceInfo *tinfo;
......@@ -353,7 +353,7 @@ HEAP_TRACKER_native_newobj(JNIEnv *env, jclass klass, jthread thread, jobject o)
}
/* Java Native Method for newarray */
static void
static void JNICALL
HEAP_TRACKER_native_newarr(JNIEnv *env, jclass klass, jthread thread, jobject a)
{
TraceInfo *tinfo;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册