--- a/hotspot/src/share/vm/prims/jni.cpp Fri Jan 17 02:13:40 2014 -0800
+++ b/hotspot/src/share/vm/prims/jni.cpp Thu Jan 16 20:14:21 2014 +0100
@@ -433,8 +433,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, FindClass__entry, env, name);
#else /* USDT2 */
- HOTSPOT_JNI_FINDCLASS_ENTRY(
- env, (char *)name);
+ HOTSPOT_JNI_FINDCLASS_ENTRY(env, (char *)name);
#endif /* USDT2 */
jclass result = NULL;
@@ -511,8 +510,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, FromReflectedMethod__entry, env, method);
#else /* USDT2 */
- HOTSPOT_JNI_FROMREFLECTEDMETHOD_ENTRY(
- env, method);
+ HOTSPOT_JNI_FROMREFLECTEDMETHOD_ENTRY(env, method);
#endif /* USDT2 */
jmethodID ret = NULL;
DT_RETURN_MARK(FromReflectedMethod, jmethodID, (const jmethodID&)ret);
@@ -552,8 +550,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, FromReflectedField__entry, env, field);
#else /* USDT2 */
- HOTSPOT_JNI_FROMREFLECTEDFIELD_ENTRY(
- env, field);
+ HOTSPOT_JNI_FROMREFLECTEDFIELD_ENTRY(env, field);
#endif /* USDT2 */
jfieldID ret = NULL;
DT_RETURN_MARK(FromReflectedField, jfieldID, (const jfieldID&)ret);
@@ -601,8 +598,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, ToReflectedMethod__entry, env, cls, method_id, isStatic);
#else /* USDT2 */
- HOTSPOT_JNI_TOREFLECTEDMETHOD_ENTRY(
- env, cls, (uintptr_t) method_id, isStatic);
+ HOTSPOT_JNI_TOREFLECTEDMETHOD_ENTRY(env, cls, (uintptr_t) method_id, isStatic);
#endif /* USDT2 */
jobject ret = NULL;
DT_RETURN_MARK(ToReflectedMethod, jobject, (const jobject&)ret);
@@ -631,8 +627,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetSuperclass__entry, env, sub);
#else /* USDT2 */
- HOTSPOT_JNI_GETSUPERCLASS_ENTRY(
- env, sub);
+ HOTSPOT_JNI_GETSUPERCLASS_ENTRY(env, sub);
#endif /* USDT2 */
jclass obj = NULL;
DT_RETURN_MARK(GetSuperclass, jclass, (const jclass&)obj);
@@ -665,8 +660,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, IsAssignableFrom__entry, env, sub, super);
#else /* USDT2 */
- HOTSPOT_JNI_ISASSIGNABLEFROM_ENTRY(
- env, sub, super);
+ HOTSPOT_JNI_ISASSIGNABLEFROM_ENTRY(env, sub, super);
#endif /* USDT2 */
oop sub_mirror = JNIHandles::resolve_non_null(sub);
oop super_mirror = JNIHandles::resolve_non_null(super);
@@ -676,8 +670,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, IsAssignableFrom__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ISASSIGNABLEFROM_RETURN(
- ret);
+ HOTSPOT_JNI_ISASSIGNABLEFROM_RETURN(ret);
#endif /* USDT2 */
return ret;
}
@@ -689,8 +682,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, IsAssignableFrom__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ISASSIGNABLEFROM_RETURN(
- ret);
+ HOTSPOT_JNI_ISASSIGNABLEFROM_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -707,8 +699,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, Throw__entry, env, obj);
#else /* USDT2 */
- HOTSPOT_JNI_THROW_ENTRY(
- env, obj);
+ HOTSPOT_JNI_THROW_ENTRY(env, obj);
#endif /* USDT2 */
jint ret = JNI_OK;
DT_RETURN_MARK(Throw, jint, (const jint&)ret);
@@ -729,8 +720,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, ThrowNew__entry, env, clazz, message);
#else /* USDT2 */
- HOTSPOT_JNI_THROWNEW_ENTRY(
- env, clazz, (char *) message);
+ HOTSPOT_JNI_THROWNEW_ENTRY(env, clazz, (char *) message);
#endif /* USDT2 */
jint ret = JNI_OK;
DT_RETURN_MARK(ThrowNew, jint, (const jint&)ret);
@@ -763,8 +753,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionOccurred__entry, env);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONOCCURRED_ENTRY(
- env);
+ HOTSPOT_JNI_EXCEPTIONOCCURRED_ENTRY(env);
#endif /* USDT2 */
jni_check_async_exceptions(thread);
oop exception = thread->pending_exception();
@@ -772,8 +761,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionOccurred__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONOCCURRED_RETURN(
- ret);
+ HOTSPOT_JNI_EXCEPTIONOCCURRED_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -784,8 +772,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionDescribe__entry, env);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONDESCRIBE_ENTRY(
- env);
+ HOTSPOT_JNI_EXCEPTIONDESCRIBE_ENTRY(env);
#endif /* USDT2 */
if (thread->has_pending_exception()) {
Handle ex(thread, thread->pending_exception());
@@ -825,8 +812,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ExceptionDescribe__return);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONDESCRIBE_RETURN(
- );
+ HOTSPOT_JNI_EXCEPTIONDESCRIBE_RETURN();
#endif /* USDT2 */
JNI_END
@@ -836,8 +822,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionClear__entry, env);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONCLEAR_ENTRY(
- env);
+ HOTSPOT_JNI_EXCEPTIONCLEAR_ENTRY(env);
#endif /* USDT2 */
// The jni code might be using this API to clear java thrown exception.
@@ -850,8 +835,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ExceptionClear__return);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONCLEAR_RETURN(
- );
+ HOTSPOT_JNI_EXCEPTIONCLEAR_RETURN();
#endif /* USDT2 */
JNI_END
@@ -861,8 +845,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, FatalError__entry, env, msg);
#else /* USDT2 */
- HOTSPOT_JNI_FATALERROR_ENTRY(
- env, (char *) msg);
+ HOTSPOT_JNI_FATALERROR_ENTRY(env, (char *) msg);
#endif /* USDT2 */
tty->print_cr("FATAL ERROR in native method: %s", msg);
thread->print_stack();
@@ -875,16 +858,14 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, PushLocalFrame__entry, env, capacity);
#else /* USDT2 */
- HOTSPOT_JNI_PUSHLOCALFRAME_ENTRY(
- env, capacity);
+ HOTSPOT_JNI_PUSHLOCALFRAME_ENTRY(env, capacity);
#endif /* USDT2 */
//%note jni_11
if (capacity < 0 || capacity > MAX_REASONABLE_LOCAL_CAPACITY) {
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, PushLocalFrame__return, JNI_ERR);
#else /* USDT2 */
- HOTSPOT_JNI_PUSHLOCALFRAME_RETURN(
- (uint32_t)JNI_ERR);
+ HOTSPOT_JNI_PUSHLOCALFRAME_RETURN((uint32_t)JNI_ERR);
#endif /* USDT2 */
return JNI_ERR;
}
@@ -897,8 +878,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, PushLocalFrame__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_PUSHLOCALFRAME_RETURN(
- ret);
+ HOTSPOT_JNI_PUSHLOCALFRAME_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -909,8 +889,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, PopLocalFrame__entry, env, result);
#else /* USDT2 */
- HOTSPOT_JNI_POPLOCALFRAME_ENTRY(
- env, result);
+ HOTSPOT_JNI_POPLOCALFRAME_ENTRY(env, result);
#endif /* USDT2 */
//%note jni_11
Handle result_handle(thread, JNIHandles::resolve(result));
@@ -929,8 +908,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, PopLocalFrame__return, result);
#else /* USDT2 */
- HOTSPOT_JNI_POPLOCALFRAME_RETURN(
- result);
+ HOTSPOT_JNI_POPLOCALFRAME_RETURN(result);
#endif /* USDT2 */
return result;
JNI_END
@@ -941,16 +919,14 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, NewGlobalRef__entry, env, ref);
#else /* USDT2 */
- HOTSPOT_JNI_NEWGLOBALREF_ENTRY(
- env, ref);
+ HOTSPOT_JNI_NEWGLOBALREF_ENTRY(env, ref);
#endif /* USDT2 */
Handle ref_handle(thread, JNIHandles::resolve(ref));
jobject ret = JNIHandles::make_global(ref_handle);
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, NewGlobalRef__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_NEWGLOBALREF_RETURN(
- ret);
+ HOTSPOT_JNI_NEWGLOBALREF_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -961,15 +937,13 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, DeleteGlobalRef__entry, env, ref);
#else /* USDT2 */
- HOTSPOT_JNI_DELETEGLOBALREF_ENTRY(
- env, ref);
+ HOTSPOT_JNI_DELETEGLOBALREF_ENTRY(env, ref);
#endif /* USDT2 */
JNIHandles::destroy_global(ref);
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, DeleteGlobalRef__return);
#else /* USDT2 */
- HOTSPOT_JNI_DELETEGLOBALREF_RETURN(
- );
+ HOTSPOT_JNI_DELETEGLOBALREF_RETURN();
#endif /* USDT2 */
JNI_END
@@ -978,15 +952,13 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, DeleteLocalRef__entry, env, obj);
#else /* USDT2 */
- HOTSPOT_JNI_DELETELOCALREF_ENTRY(
- env, obj);
+ HOTSPOT_JNI_DELETELOCALREF_ENTRY(env, obj);
#endif /* USDT2 */
JNIHandles::destroy_local(obj);
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, DeleteLocalRef__return);
#else /* USDT2 */
- HOTSPOT_JNI_DELETELOCALREF_RETURN(
- );
+ HOTSPOT_JNI_DELETELOCALREF_RETURN();
#endif /* USDT2 */
JNI_END
@@ -995,8 +967,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, IsSameObject__entry, env, r1, r2);
#else /* USDT2 */
- HOTSPOT_JNI_ISSAMEOBJECT_ENTRY(
- env, r1, r2);
+ HOTSPOT_JNI_ISSAMEOBJECT_ENTRY(env, r1, r2);
#endif /* USDT2 */
oop a = JNIHandles::resolve(r1);
oop b = JNIHandles::resolve(r2);
@@ -1004,8 +975,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, IsSameObject__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ISSAMEOBJECT_RETURN(
- ret);
+ HOTSPOT_JNI_ISSAMEOBJECT_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1016,15 +986,13 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, NewLocalRef__entry, env, ref);
#else /* USDT2 */
- HOTSPOT_JNI_NEWLOCALREF_ENTRY(
- env, ref);
+ HOTSPOT_JNI_NEWLOCALREF_ENTRY(env, ref);
#endif /* USDT2 */
jobject ret = JNIHandles::make_local(env, JNIHandles::resolve(ref));
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, NewLocalRef__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_NEWLOCALREF_RETURN(
- ret);
+ HOTSPOT_JNI_NEWLOCALREF_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1034,8 +1002,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, EnsureLocalCapacity__entry, env, capacity);
#else /* USDT2 */
- HOTSPOT_JNI_ENSURELOCALCAPACITY_ENTRY(
- env, capacity);
+ HOTSPOT_JNI_ENSURELOCALCAPACITY_ENTRY(env, capacity);
#endif /* USDT2 */
jint ret;
if (capacity >= 0 && capacity <= MAX_REASONABLE_LOCAL_CAPACITY) {
@@ -1046,8 +1013,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, EnsureLocalCapacity__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ENSURELOCALCAPACITY_RETURN(
- ret);
+ HOTSPOT_JNI_ENSURELOCALCAPACITY_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1058,8 +1024,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetObjectRefType__entry, env, obj);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTREFTYPE_ENTRY(
- env, obj);
+ HOTSPOT_JNI_GETOBJECTREFTYPE_ENTRY(env, obj);
#endif /* USDT2 */
jobjectRefType ret;
if (JNIHandles::is_local_handle(thread, obj) ||
@@ -1074,8 +1039,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetObjectRefType__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTREFTYPE_RETURN(
- (void *) ret);
+ HOTSPOT_JNI_GETOBJECTREFTYPE_RETURN((void *) ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1410,8 +1374,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, AllocObject__entry, env, clazz);
#else /* USDT2 */
- HOTSPOT_JNI_ALLOCOBJECT_ENTRY(
- env, clazz);
+ HOTSPOT_JNI_ALLOCOBJECT_ENTRY(env, clazz);
#endif /* USDT2 */
jobject ret = NULL;
DT_RETURN_MARK(AllocObject, jobject, (const jobject&)ret);
@@ -1433,8 +1396,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, NewObjectA__entry, env, clazz, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_NEWOBJECTA_ENTRY(
- env, clazz, (uintptr_t) methodID);
+ HOTSPOT_JNI_NEWOBJECTA_ENTRY(env, clazz, (uintptr_t) methodID);
#endif /* USDT2 */
jobject obj = NULL;
DT_RETURN_MARK(NewObjectA, jobject, (const jobject)obj);
@@ -1459,8 +1421,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, NewObjectV__entry, env, clazz, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_NEWOBJECTV_ENTRY(
- env, clazz, (uintptr_t) methodID);
+ HOTSPOT_JNI_NEWOBJECTV_ENTRY(env, clazz, (uintptr_t) methodID);
#endif /* USDT2 */
jobject obj = NULL;
DT_RETURN_MARK(NewObjectV, jobject, (const jobject&)obj);
@@ -1485,8 +1446,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, NewObject__entry, env, clazz, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_NEWOBJECT_ENTRY(
- env, clazz, (uintptr_t) methodID);
+ HOTSPOT_JNI_NEWOBJECT_ENTRY(env, clazz, (uintptr_t) methodID);
#endif /* USDT2 */
jobject obj = NULL;
DT_RETURN_MARK(NewObject, jobject, (const jobject&)obj);
@@ -1508,8 +1468,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetObjectClass__entry, env, obj);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTCLASS_ENTRY(
- env, obj);
+ HOTSPOT_JNI_GETOBJECTCLASS_ENTRY(env, obj);
#endif /* USDT2 */
Klass* k = JNIHandles::resolve_non_null(obj)->klass();
jclass ret =
@@ -1517,8 +1476,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetObjectClass__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTCLASS_RETURN(
- ret);
+ HOTSPOT_JNI_GETOBJECTCLASS_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1528,8 +1486,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, IsInstanceOf__entry, env, obj, clazz);
#else /* USDT2 */
- HOTSPOT_JNI_ISINSTANCEOF_ENTRY(
- env, obj, clazz);
+ HOTSPOT_JNI_ISINSTANCEOF_ENTRY(env, obj, clazz);
#endif /* USDT2 */
jboolean ret = JNI_TRUE;
if (obj != NULL) {
@@ -1543,8 +1500,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, IsInstanceOf__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ISINSTANCEOF_RETURN(
- ret);
+ HOTSPOT_JNI_ISINSTANCEOF_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1608,15 +1564,13 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, GetMethodID__entry, env, clazz, name, sig);
#else /* USDT2 */
- HOTSPOT_JNI_GETMETHODID_ENTRY(
- env, clazz, (char *) name, (char *) sig);
+ HOTSPOT_JNI_GETMETHODID_ENTRY(env, clazz, (char *) name, (char *) sig);
#endif /* USDT2 */
jmethodID ret = get_method_id(env, clazz, name, sig, false, thread);
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetMethodID__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETMETHODID_RETURN(
- (uintptr_t) ret);
+ HOTSPOT_JNI_GETMETHODID_RETURN((uintptr_t) ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1628,15 +1582,13 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, GetStaticMethodID__entry, env, clazz, name, sig);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTATICMETHODID_ENTRY(
- env, (char *) clazz, (char *) name, (char *)sig);
+ HOTSPOT_JNI_GETSTATICMETHODID_ENTRY(env, (char *) clazz, (char *) name, (char *)sig);
#endif /* USDT2 */
jmethodID ret = get_method_id(env, clazz, name, sig, true, thread);
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStaticMethodID__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTATICMETHODID_RETURN(
- (uintptr_t) ret);
+ HOTSPOT_JNI_GETSTATICMETHODID_RETURN((uintptr_t) ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -1896,8 +1848,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallVoidMethod__entry, env, obj, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLVOIDMETHOD_ENTRY(
- env, obj, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLVOIDMETHOD_ENTRY(env, obj, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallVoidMethod);
@@ -1915,8 +1866,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallVoidMethodV__entry, env, obj, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLVOIDMETHODV_ENTRY(
- env, obj, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLVOIDMETHODV_ENTRY(env, obj, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallVoidMethodV);
@@ -1931,8 +1881,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallVoidMethodA__entry, env, obj, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLVOIDMETHODA_ENTRY(
- env, obj, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLVOIDMETHODA_ENTRY(env, obj, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallVoidMethodA);
@@ -2194,8 +2143,7 @@
DTRACE_PROBE4(hotspot_jni, CallNonvirtualVoidMethod__entry,
env, obj, cls, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLNONVIRTUALVOIDMETHOD_ENTRY(
- env, obj, cls, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLNONVIRTUALVOIDMETHOD_ENTRY(env, obj, cls, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallNonvirtualVoidMethod);
@@ -2496,8 +2444,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallStaticVoidMethod__entry, env, cls, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLSTATICVOIDMETHOD_ENTRY(
- env, cls, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLSTATICVOIDMETHOD_ENTRY(env, cls, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallStaticVoidMethod);
@@ -2515,8 +2462,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallStaticVoidMethodV__entry, env, cls, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLSTATICVOIDMETHODV_ENTRY(
- env, cls, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLSTATICVOIDMETHODV_ENTRY(env, cls, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallStaticVoidMethodV);
@@ -2531,8 +2477,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, CallStaticVoidMethodA__entry, env, cls, methodID);
#else /* USDT2 */
- HOTSPOT_JNI_CALLSTATICVOIDMETHODA_ENTRY(
- env, cls, (uintptr_t) methodID);
+ HOTSPOT_JNI_CALLSTATICVOIDMETHODA_ENTRY(env, cls, (uintptr_t) methodID);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(CallStaticVoidMethodA);
@@ -2560,8 +2505,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, GetFieldID__entry, env, clazz, name, sig);
#else /* USDT2 */
- HOTSPOT_JNI_GETFIELDID_ENTRY(
- env, clazz, (char *) name, (char *) sig);
+ HOTSPOT_JNI_GETFIELDID_ENTRY(env, clazz, (char *) name, (char *) sig);
#endif /* USDT2 */
jfieldID ret = 0;
DT_RETURN_MARK(GetFieldID, jfieldID, (const jfieldID&)ret);
@@ -2597,8 +2541,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetObjectField__entry, env, obj, fieldID);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTFIELD_ENTRY(
- env, obj, (uintptr_t) fieldID);
+ HOTSPOT_JNI_GETOBJECTFIELD_ENTRY(env, obj, (uintptr_t) fieldID);
#endif /* USDT2 */
oop o = JNIHandles::resolve_non_null(obj);
Klass* k = o->klass();
@@ -2632,8 +2575,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetObjectField__return, ret);
#else /* USDT2 */
-HOTSPOT_JNI_GETOBJECTFIELD_RETURN(
- ret);
+HOTSPOT_JNI_GETOBJECTFIELD_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -2758,8 +2700,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, SetObjectField__entry, env, obj, fieldID, value);
#else /* USDT2 */
- HOTSPOT_JNI_SETOBJECTFIELD_ENTRY(
- env, obj, (uintptr_t) fieldID, value);
+ HOTSPOT_JNI_SETOBJECTFIELD_ENTRY(env, obj, (uintptr_t) fieldID, value);
#endif /* USDT2 */
oop o = JNIHandles::resolve_non_null(obj);
Klass* k = o->klass();
@@ -2776,8 +2717,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, SetObjectField__return);
#else /* USDT2 */
- HOTSPOT_JNI_SETOBJECTFIELD_RETURN(
-);
+ HOTSPOT_JNI_SETOBJECTFIELD_RETURN();
#endif /* USDT2 */
JNI_END
@@ -2880,8 +2820,7 @@
DTRACE_PROBE4(hotspot_jni, ToReflectedField__entry,
env, cls, fieldID, isStatic);
#else /* USDT2 */
- HOTSPOT_JNI_TOREFLECTEDFIELD_ENTRY(
- env, cls, (uintptr_t) fieldID, isStatic);
+ HOTSPOT_JNI_TOREFLECTEDFIELD_ENTRY(env, cls, (uintptr_t) fieldID, isStatic);
#endif /* USDT2 */
jobject ret = NULL;
DT_RETURN_MARK(ToReflectedField, jobject, (const jobject&)ret);
@@ -2925,8 +2864,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, GetStaticFieldID__entry, env, clazz, name, sig);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTATICFIELDID_ENTRY(
- env, clazz, (char *) name, (char *) sig);
+ HOTSPOT_JNI_GETSTATICFIELDID_ENTRY(env, clazz, (char *) name, (char *) sig);
#endif /* USDT2 */
jfieldID ret = NULL;
DT_RETURN_MARK(GetStaticFieldID, jfieldID, (const jfieldID&)ret);
@@ -2966,8 +2904,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetStaticObjectField__entry, env, clazz, fieldID);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTATICOBJECTFIELD_ENTRY(
- env, clazz, (uintptr_t) fieldID);
+ HOTSPOT_JNI_GETSTATICOBJECTFIELD_ENTRY(env, clazz, (uintptr_t) fieldID);
#endif /* USDT2 */
#if INCLUDE_JNI_CHECK
DEBUG_ONLY(Klass* param_k = jniCheck::validate_class(thread, clazz);)
@@ -2983,8 +2920,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStaticObjectField__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTATICOBJECTFIELD_RETURN(
- ret);
+ HOTSPOT_JNI_GETSTATICOBJECTFIELD_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -3069,8 +3005,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, SetStaticObjectField__entry, env, clazz, fieldID, value);
#else /* USDT2 */
- HOTSPOT_JNI_SETSTATICOBJECTFIELD_ENTRY(
- env, clazz, (uintptr_t) fieldID, value);
+ HOTSPOT_JNI_SETSTATICOBJECTFIELD_ENTRY(env, clazz, (uintptr_t) fieldID, value);
#endif /* USDT2 */
JNIid* id = jfieldIDWorkaround::from_static_jfieldID(fieldID);
assert(id->is_static_field_id(), "invalid static field id");
@@ -3085,8 +3020,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, SetStaticObjectField__return);
#else /* USDT2 */
- HOTSPOT_JNI_SETSTATICOBJECTFIELD_RETURN(
- );
+ HOTSPOT_JNI_SETSTATICOBJECTFIELD_RETURN();
#endif /* USDT2 */
JNI_END
@@ -3189,8 +3123,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, NewString__entry, env, unicodeChars, len);
#else /* USDT2 */
- HOTSPOT_JNI_NEWSTRING_ENTRY(
- env, (uint16_t *) unicodeChars, len);
+ HOTSPOT_JNI_NEWSTRING_ENTRY(env, (uint16_t *) unicodeChars, len);
#endif /* USDT2 */
jstring ret = NULL;
DT_RETURN_MARK(NewString, jstring, (const jstring&)ret);
@@ -3205,8 +3138,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetStringLength__entry, env, string);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGLENGTH_ENTRY(
- env, string);
+ HOTSPOT_JNI_GETSTRINGLENGTH_ENTRY(env, string);
#endif /* USDT2 */
jsize ret = 0;
oop s = JNIHandles::resolve_non_null(string);
@@ -3216,8 +3148,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStringLength__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGLENGTH_RETURN(
- ret);
+ HOTSPOT_JNI_GETSTRINGLENGTH_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -3229,8 +3160,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetStringChars__entry, env, string, isCopy);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGCHARS_ENTRY(
- env, string, (uintptr_t *) isCopy);
+ HOTSPOT_JNI_GETSTRINGCHARS_ENTRY(env, string, (uintptr_t *) isCopy);
#endif /* USDT2 */
jchar* buf = NULL;
oop s = JNIHandles::resolve_non_null(string);
@@ -3254,8 +3184,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStringChars__return, buf);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGCHARS_RETURN(
- buf);
+ HOTSPOT_JNI_GETSTRINGCHARS_RETURN(buf);
#endif /* USDT2 */
return buf;
JNI_END
@@ -3266,8 +3195,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, ReleaseStringChars__entry, env, str, chars);
#else /* USDT2 */
- HOTSPOT_JNI_RELEASESTRINGCHARS_ENTRY(
- env, str, (uint16_t *) chars);
+ HOTSPOT_JNI_RELEASESTRINGCHARS_ENTRY(env, str, (uint16_t *) chars);
#endif /* USDT2 */
//%note jni_6
if (chars != NULL) {
@@ -3278,8 +3206,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ReleaseStringChars__return);
#else /* USDT2 */
- HOTSPOT_JNI_RELEASESTRINGCHARS_RETURN(
-);
+ HOTSPOT_JNI_RELEASESTRINGCHARS_RETURN();
#endif /* USDT2 */
JNI_END
@@ -3298,8 +3225,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, NewStringUTF__entry, env, bytes);
#else /* USDT2 */
- HOTSPOT_JNI_NEWSTRINGUTF_ENTRY(
- env, (char *) bytes);
+ HOTSPOT_JNI_NEWSTRINGUTF_ENTRY(env, (char *) bytes);
#endif /* USDT2 */
jstring ret;
DT_RETURN_MARK(NewStringUTF, jstring, (const jstring&)ret);
@@ -3315,8 +3241,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetStringUTFLength__entry, env, string);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGUTFLENGTH_ENTRY(
- env, string);
+ HOTSPOT_JNI_GETSTRINGUTFLENGTH_ENTRY(env, string);
#endif /* USDT2 */
jsize ret = 0;
oop java_string = JNIHandles::resolve_non_null(string);
@@ -3326,8 +3251,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStringUTFLength__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGUTFLENGTH_RETURN(
- ret);
+ HOTSPOT_JNI_GETSTRINGUTFLENGTH_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -3338,8 +3262,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetStringUTFChars__entry, env, string, isCopy);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGUTFCHARS_ENTRY(
- env, string, (uintptr_t *) isCopy);
+ HOTSPOT_JNI_GETSTRINGUTFCHARS_ENTRY(env, string, (uintptr_t *) isCopy);
#endif /* USDT2 */
char* result = NULL;
oop java_string = JNIHandles::resolve_non_null(string);
@@ -3357,8 +3280,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStringUTFChars__return, result);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGUTFCHARS_RETURN(
- result);
+ HOTSPOT_JNI_GETSTRINGUTFCHARS_RETURN(result);
#endif /* USDT2 */
return result;
JNI_END
@@ -3369,8 +3291,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, ReleaseStringUTFChars__entry, env, str, chars);
#else /* USDT2 */
- HOTSPOT_JNI_RELEASESTRINGUTFCHARS_ENTRY(
- env, str, (char *) chars);
+ HOTSPOT_JNI_RELEASESTRINGUTFCHARS_ENTRY(env, str, (char *) chars);
#endif /* USDT2 */
if (chars != NULL) {
FreeHeap((char*) chars);
@@ -3378,8 +3299,7 @@
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ReleaseStringUTFChars__return);
#else /* USDT2 */
-HOTSPOT_JNI_RELEASESTRINGUTFCHARS_RETURN(
-);
+HOTSPOT_JNI_RELEASESTRINGUTFCHARS_RETURN();
#endif /* USDT2 */
JNI_END
@@ -3389,8 +3309,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetArrayLength__entry, env, array);
#else /* USDT2 */
- HOTSPOT_JNI_GETARRAYLENGTH_ENTRY(
- env, array);
+ HOTSPOT_JNI_GETARRAYLENGTH_ENTRY(env, array);
#endif /* USDT2 */
arrayOop a = arrayOop(JNIHandles::resolve_non_null(array));
assert(a->is_array(), "must be array");
@@ -3398,8 +3317,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetArrayLength__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETARRAYLENGTH_RETURN(
- ret);
+ HOTSPOT_JNI_GETARRAYLENGTH_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -3421,8 +3339,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, NewObjectArray__entry, env, length, elementClass, initialElement);
#else /* USDT2 */
- HOTSPOT_JNI_NEWOBJECTARRAY_ENTRY(
- env, length, elementClass, initialElement);
+ HOTSPOT_JNI_NEWOBJECTARRAY_ENTRY(env, length, elementClass, initialElement);
#endif /* USDT2 */
jobjectArray ret = NULL;
DT_RETURN_MARK(NewObjectArray, jobjectArray, (const jobjectArray&)ret);
@@ -3453,8 +3370,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetObjectArrayElement__entry, env, array, index);
#else /* USDT2 */
- HOTSPOT_JNI_GETOBJECTARRAYELEMENT_ENTRY(
- env, array, index);
+ HOTSPOT_JNI_GETOBJECTARRAYELEMENT_ENTRY(env, array, index);
#endif /* USDT2 */
jobject ret = NULL;
DT_RETURN_MARK(GetObjectArrayElement, jobject, (const jobject&)ret);
@@ -3481,8 +3397,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, SetObjectArrayElement__entry, env, array, index, value);
#else /* USDT2 */
- HOTSPOT_JNI_SETOBJECTARRAYELEMENT_ENTRY(
- env, array, index, value);
+ HOTSPOT_JNI_SETOBJECTARRAYELEMENT_ENTRY(env, array, index, value);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(SetObjectArrayElement);
@@ -4034,8 +3949,7 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, RegisterNatives__entry, env, clazz, methods, nMethods);
#else /* USDT2 */
- HOTSPOT_JNI_REGISTERNATIVES_ENTRY(
- env, clazz, (void *) methods, nMethods);
+ HOTSPOT_JNI_REGISTERNATIVES_ENTRY(env, clazz, (void *) methods, nMethods);
#endif /* USDT2 */
jint ret = 0;
DT_RETURN_MARK(RegisterNatives, jint, (const jint&)ret);
@@ -4077,8 +3991,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, UnregisterNatives__entry, env, clazz);
#else /* USDT2 */
- HOTSPOT_JNI_UNREGISTERNATIVES_ENTRY(
- env, clazz);
+ HOTSPOT_JNI_UNREGISTERNATIVES_ENTRY(env, clazz);
#endif /* USDT2 */
Klass* k = java_lang_Class::as_Klass(JNIHandles::resolve_non_null(clazz));
//%note jni_2
@@ -4094,8 +4007,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, UnregisterNatives__return, 0);
#else /* USDT2 */
- HOTSPOT_JNI_UNREGISTERNATIVES_RETURN(
- 0);
+ HOTSPOT_JNI_UNREGISTERNATIVES_RETURN(0);
#endif /* USDT2 */
return 0;
JNI_END
@@ -4115,8 +4027,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, MonitorEnter__entry, env, jobj);
#else /* USDT2 */
- HOTSPOT_JNI_MONITORENTER_ENTRY(
- env, jobj);
+ HOTSPOT_JNI_MONITORENTER_ENTRY(env, jobj);
#endif /* USDT2 */
jint ret = JNI_ERR;
DT_RETURN_MARK(MonitorEnter, jint, (const jint&)ret);
@@ -4143,8 +4054,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, MonitorExit__entry, env, jobj);
#else /* USDT2 */
- HOTSPOT_JNI_MONITOREXIT_ENTRY(
- env, jobj);
+ HOTSPOT_JNI_MONITOREXIT_ENTRY(env, jobj);
#endif /* USDT2 */
jint ret = JNI_ERR;
DT_RETURN_MARK(MonitorExit, jint, (const jint&)ret);
@@ -4177,8 +4087,7 @@
#ifndef USDT2
DTRACE_PROBE5(hotspot_jni, GetStringRegion__entry, env, string, start, len, buf);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGREGION_ENTRY(
- env, string, start, len, buf);
+ HOTSPOT_JNI_GETSTRINGREGION_ENTRY(env, string, start, len, buf);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(GetStringRegion);
oop s = JNIHandles::resolve_non_null(string);
@@ -4206,8 +4115,7 @@
#ifndef USDT2
DTRACE_PROBE5(hotspot_jni, GetStringUTFRegion__entry, env, string, start, len, buf);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGUTFREGION_ENTRY(
- env, string, start, len, buf);
+ HOTSPOT_JNI_GETSTRINGUTFREGION_ENTRY(env, string, start, len, buf);
#endif /* USDT2 */
DT_VOID_RETURN_MARK(GetStringUTFRegion);
oop s = JNIHandles::resolve_non_null(string);
@@ -4237,8 +4145,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetPrimitiveArrayCritical__entry, env, array, isCopy);
#else /* USDT2 */
- HOTSPOT_JNI_GETPRIMITIVEARRAYCRITICAL_ENTRY(
- env, array, (uintptr_t *) isCopy);
+ HOTSPOT_JNI_GETPRIMITIVEARRAYCRITICAL_ENTRY(env, array, (uintptr_t *) isCopy);
#endif /* USDT2 */
GC_locker::lock_critical(thread);
if (isCopy != NULL) {
@@ -4256,8 +4163,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetPrimitiveArrayCritical__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETPRIMITIVEARRAYCRITICAL_RETURN(
- ret);
+ HOTSPOT_JNI_GETPRIMITIVEARRAYCRITICAL_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -4268,16 +4174,14 @@
#ifndef USDT2
DTRACE_PROBE4(hotspot_jni, ReleasePrimitiveArrayCritical__entry, env, array, carray, mode);
#else /* USDT2 */
- HOTSPOT_JNI_RELEASEPRIMITIVEARRAYCRITICAL_ENTRY(
- env, array, carray, mode);
+ HOTSPOT_JNI_RELEASEPRIMITIVEARRAYCRITICAL_ENTRY(env, array, carray, mode);
#endif /* USDT2 */
// The array, carray and mode arguments are ignored
GC_locker::unlock_critical(thread);
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ReleasePrimitiveArrayCritical__return);
#else /* USDT2 */
-HOTSPOT_JNI_RELEASEPRIMITIVEARRAYCRITICAL_RETURN(
-);
+HOTSPOT_JNI_RELEASEPRIMITIVEARRAYCRITICAL_RETURN();
#endif /* USDT2 */
JNI_END
@@ -4287,8 +4191,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetStringCritical__entry, env, string, isCopy);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGCRITICAL_ENTRY(
- env, string, (uintptr_t *) isCopy);
+ HOTSPOT_JNI_GETSTRINGCRITICAL_ENTRY(env, string, (uintptr_t *) isCopy);
#endif /* USDT2 */
GC_locker::lock_critical(thread);
if (isCopy != NULL) {
@@ -4307,8 +4210,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetStringCritical__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_GETSTRINGCRITICAL_RETURN(
- (uint16_t *) ret);
+ HOTSPOT_JNI_GETSTRINGCRITICAL_RETURN((uint16_t *) ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -4319,16 +4221,14 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, ReleaseStringCritical__entry, env, str, chars);
#else /* USDT2 */
- HOTSPOT_JNI_RELEASESTRINGCRITICAL_ENTRY(
- env, str, (uint16_t *) chars);
+ HOTSPOT_JNI_RELEASESTRINGCRITICAL_ENTRY(env, str, (uint16_t *) chars);
#endif /* USDT2 */
// The str and chars arguments are ignored
GC_locker::unlock_critical(thread);
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, ReleaseStringCritical__return);
#else /* USDT2 */
-HOTSPOT_JNI_RELEASESTRINGCRITICAL_RETURN(
-);
+HOTSPOT_JNI_RELEASESTRINGCRITICAL_RETURN();
#endif /* USDT2 */
JNI_END
@@ -4338,16 +4238,14 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, NewWeakGlobalRef__entry, env, ref);
#else /* USDT2 */
- HOTSPOT_JNI_NEWWEAKGLOBALREF_ENTRY(
- env, ref);
+ HOTSPOT_JNI_NEWWEAKGLOBALREF_ENTRY(env, ref);
#endif /* USDT2 */
Handle ref_handle(thread, JNIHandles::resolve(ref));
jweak ret = JNIHandles::make_weak_global(ref_handle);
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, NewWeakGlobalRef__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_NEWWEAKGLOBALREF_RETURN(
- ret);
+ HOTSPOT_JNI_NEWWEAKGLOBALREF_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -4358,15 +4256,13 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, DeleteWeakGlobalRef__entry, env, ref);
#else /* USDT2 */
- HOTSPOT_JNI_DELETEWEAKGLOBALREF_ENTRY(
- env, ref);
+ HOTSPOT_JNI_DELETEWEAKGLOBALREF_ENTRY(env, ref);
#endif /* USDT2 */
JNIHandles::destroy_weak_global(ref);
#ifndef USDT2
DTRACE_PROBE(hotspot_jni, DeleteWeakGlobalRef__return);
#else /* USDT2 */
- HOTSPOT_JNI_DELETEWEAKGLOBALREF_RETURN(
- );
+ HOTSPOT_JNI_DELETEWEAKGLOBALREF_RETURN();
#endif /* USDT2 */
JNI_END
@@ -4376,16 +4272,14 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionCheck__entry, env);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONCHECK_ENTRY(
- env);
+ HOTSPOT_JNI_EXCEPTIONCHECK_ENTRY(env);
#endif /* USDT2 */
jni_check_async_exceptions(thread);
jboolean ret = (thread->has_pending_exception()) ? JNI_TRUE : JNI_FALSE;
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, ExceptionCheck__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_EXCEPTIONCHECK_RETURN(
- ret);
+ HOTSPOT_JNI_EXCEPTIONCHECK_RETURN(ret);
#endif /* USDT2 */
return ret;
JNI_END
@@ -4481,8 +4375,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, NewDirectByteBuffer__entry, env, address, capacity);
#else /* USDT2 */
- HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_ENTRY(
- env, address, capacity);
+ HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_ENTRY(env, address, capacity);
#endif /* USDT2 */
if (!directBufferSupportInitializeEnded) {
@@ -4490,8 +4383,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL);
#else /* USDT2 */
- HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_RETURN(
- NULL);
+ HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_RETURN(NULL);
#endif /* USDT2 */
return NULL;
}
@@ -4506,8 +4398,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_RETURN(
- ret);
+ HOTSPOT_JNI_NEWDIRECTBYTEBUFFER_RETURN(ret);
#endif /* USDT2 */
return ret;
}
@@ -4528,8 +4419,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetDirectBufferAddress__entry, env, buf);
#else /* USDT2 */
- HOTSPOT_JNI_GETDIRECTBUFFERADDRESS_ENTRY(
- env, buf);
+ HOTSPOT_JNI_GETDIRECTBUFFERADDRESS_ENTRY(env, buf);
#endif /* USDT2 */
void* ret = NULL;
DT_RETURN_MARK(GetDirectBufferAddress, void*, (const void*&)ret);
@@ -4564,8 +4454,7 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetDirectBufferCapacity__entry, env, buf);
#else /* USDT2 */
- HOTSPOT_JNI_GETDIRECTBUFFERCAPACITY_ENTRY(
- env, buf);
+ HOTSPOT_JNI_GETDIRECTBUFFERCAPACITY_ENTRY(env, buf);
#endif /* USDT2 */
jlong ret = -1;
DT_RETURN_MARK(GetDirectBufferCapacity, jlong, (const jlong&)ret);
@@ -4596,14 +4485,12 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetVersion__entry, env);
#else /* USDT2 */
- HOTSPOT_JNI_GETVERSION_ENTRY(
- env);
+ HOTSPOT_JNI_GETVERSION_ENTRY(env);
#endif /* USDT2 */
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetVersion__return, CurrentVersion);
#else /* USDT2 */
- HOTSPOT_JNI_GETVERSION_RETURN(
- CurrentVersion);
+ HOTSPOT_JNI_GETVERSION_RETURN(CurrentVersion);
#endif /* USDT2 */
return CurrentVersion;
JNI_END
@@ -4615,15 +4502,13 @@
#ifndef USDT2
DTRACE_PROBE2(hotspot_jni, GetJavaVM__entry, env, vm);
#else /* USDT2 */
- HOTSPOT_JNI_GETJAVAVM_ENTRY(
- env, (void **) vm);
+ HOTSPOT_JNI_GETJAVAVM_ENTRY(env, (void **) vm);
#endif /* USDT2 */
*vm = (JavaVM *)(&main_vm);
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, GetJavaVM__return, JNI_OK);
#else /* USDT2 */
- HOTSPOT_JNI_GETJAVAVM_RETURN(
- JNI_OK);
+ HOTSPOT_JNI_GETJAVAVM_RETURN(JNI_OK);
#endif /* USDT2 */
return JNI_OK;
JNI_END
@@ -5014,8 +4899,7 @@
#ifndef USDT2
HS_DTRACE_PROBE1(hotspot_jni, GetDefaultJavaVMInitArgs__entry, args_);
#else /* USDT2 */
- HOTSPOT_JNI_GETDEFAULTJAVAVMINITARGS_ENTRY(
- args_);
+ HOTSPOT_JNI_GETDEFAULTJAVAVMINITARGS_ENTRY(args_);
#endif /* USDT2 */
JDK1_1InitArgs *args = (JDK1_1InitArgs *)args_;
jint ret = JNI_ERR;
@@ -5108,8 +4992,7 @@
#ifndef USDT2
HS_DTRACE_PROBE3(hotspot_jni, CreateJavaVM__entry, vm, penv, args);
#else /* USDT2 */
- HOTSPOT_JNI_CREATEJAVAVM_ENTRY(
- (void **) vm, penv, args);
+ HOTSPOT_JNI_CREATEJAVAVM_ENTRY((void **) vm, penv, args);
#endif /* USDT2 */
jint result = JNI_ERR;
@@ -5231,8 +5114,7 @@
HS_DTRACE_PROBE3(hotspot_jni, GetCreatedJavaVMs__entry, \
vm_buf, bufLen, numVMs);
#else /* USDT2 */
- HOTSPOT_JNI_GETCREATEDJAVAVMS_ENTRY(
- (void **) vm_buf, bufLen, (uintptr_t *) numVMs);
+ HOTSPOT_JNI_GETCREATEDJAVAVMS_ENTRY((void **) vm_buf, bufLen, (uintptr_t *) numVMs);
#endif /* USDT2 */
if (vm_created) {
if (numVMs != NULL) *numVMs = 1;
@@ -5243,8 +5125,7 @@
#ifndef USDT2
HS_DTRACE_PROBE1(hotspot_jni, GetCreatedJavaVMs__return, JNI_OK);
#else /* USDT2 */
- HOTSPOT_JNI_GETCREATEDJAVAVMS_RETURN(
- JNI_OK);
+ HOTSPOT_JNI_GETCREATEDJAVAVMS_RETURN(JNI_OK);
#endif /* USDT2 */
return JNI_OK;
}
@@ -5262,8 +5143,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, DestroyJavaVM__entry, vm);
#else /* USDT2 */
- HOTSPOT_JNI_DESTROYJAVAVM_ENTRY(
- vm);
+ HOTSPOT_JNI_DESTROYJAVAVM_ENTRY(vm);
#endif /* USDT2 */
jint res = JNI_ERR;
DT_RETURN_MARK(DestroyJavaVM, jint, (const jint&)res);
@@ -5419,15 +5299,13 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, AttachCurrentThread__entry, vm, penv, _args);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREAD_ENTRY(
- vm, penv, _args);
+ HOTSPOT_JNI_ATTACHCURRENTTHREAD_ENTRY(vm, penv, _args);
#endif /* USDT2 */
if (!vm_created) {
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, AttachCurrentThread__return, JNI_ERR);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREAD_RETURN(
- (uint32_t) JNI_ERR);
+ HOTSPOT_JNI_ATTACHCURRENTTHREAD_RETURN((uint32_t) JNI_ERR);
#endif /* USDT2 */
return JNI_ERR;
}
@@ -5437,8 +5315,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, AttachCurrentThread__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREAD_RETURN(
- ret);
+ HOTSPOT_JNI_ATTACHCURRENTTHREAD_RETURN(ret);
#endif /* USDT2 */
return ret;
}
@@ -5448,8 +5325,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, DetachCurrentThread__entry, vm);
#else /* USDT2 */
- HOTSPOT_JNI_DETACHCURRENTTHREAD_ENTRY(
- vm);
+ HOTSPOT_JNI_DETACHCURRENTTHREAD_ENTRY(vm);
#endif /* USDT2 */
VM_Exit::block_if_vm_exited();
@@ -5460,8 +5336,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, DetachCurrentThread__return, JNI_OK);
#else /* USDT2 */
- HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN(
- JNI_OK);
+ HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN(JNI_OK);
#endif /* USDT2 */
return JNI_OK;
}
@@ -5471,8 +5346,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, DetachCurrentThread__return, JNI_ERR);
#else /* USDT2 */
- HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN(
- (uint32_t) JNI_ERR);
+ HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN((uint32_t) JNI_ERR);
#endif /* USDT2 */
// Can't detach a thread that's running java, that can't work.
return JNI_ERR;
@@ -5497,8 +5371,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, DetachCurrentThread__return, JNI_OK);
#else /* USDT2 */
- HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN(
- JNI_OK);
+ HOTSPOT_JNI_DETACHCURRENTTHREAD_RETURN(JNI_OK);
#endif /* USDT2 */
return JNI_OK;
}
@@ -5514,8 +5387,7 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, GetEnv__entry, vm, penv, version);
#else /* USDT2 */
- HOTSPOT_JNI_GETENV_ENTRY(
- vm, penv, version);
+ HOTSPOT_JNI_GETENV_ENTRY(vm, penv, version);
#endif /* USDT2 */
jint ret = JNI_ERR;
DT_RETURN_MARK(GetEnv, jint, (const jint&)ret);
@@ -5573,15 +5445,13 @@
#ifndef USDT2
DTRACE_PROBE3(hotspot_jni, AttachCurrentThreadAsDaemon__entry, vm, penv, _args);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_ENTRY(
- vm, penv, _args);
+ HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_ENTRY(vm, penv, _args);
#endif /* USDT2 */
if (!vm_created) {
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, AttachCurrentThreadAsDaemon__return, JNI_ERR);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_RETURN(
- (uint32_t) JNI_ERR);
+ HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_RETURN((uint32_t) JNI_ERR);
#endif /* USDT2 */
return JNI_ERR;
}
@@ -5591,8 +5461,7 @@
#ifndef USDT2
DTRACE_PROBE1(hotspot_jni, AttachCurrentThreadAsDaemon__return, ret);
#else /* USDT2 */
- HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_RETURN(
- ret);
+ HOTSPOT_JNI_ATTACHCURRENTTHREADASDAEMON_RETURN(ret);
#endif /* USDT2 */
return ret;
}