mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-18 06:15:16 +00:00
6927816: Demo crash in heaptracker with Non-Sun JDK due to possible violation of JNI spec
Reviewed-by: ohair, alanb
This commit is contained in:
parent
e7d9fa1a92
commit
7baef5d619
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user