comparison test/hotspot/jtreg/vmTestbase/nsk/jvmti/SetFieldAccessWatch/setfldw004/setfldw004.cpp @ 57837:ed104543b3f3

Automatic merge with records-and-sealed
author mcimadamore
date Fri, 20 Sep 2019 20:01:32 +0000
parents 9cfc8b0c45fd
children
comparison
equal deleted inserted replaced
2:b6e8c3ada0d8 3:2549343e8a79
38 static jvmtiEventCallbacks callbacks; 38 static jvmtiEventCallbacks callbacks;
39 static jvmtiCapabilities caps; 39 static jvmtiCapabilities caps;
40 static jint result = PASSED; 40 static jint result = PASSED;
41 static jboolean printdump = JNI_FALSE; 41 static jboolean printdump = JNI_FALSE;
42 static jfieldID actual_fid = NULL; 42 static jfieldID actual_fid = NULL;
43 static jfieldID fids[4] = {NULL, NULL, NULL, NULL}; 43 static jfieldID fids[4] = { NULL, NULL, NULL, NULL };
44 44
45 void JNICALL FieldAccess(jvmtiEnv *jvmti_env, JNIEnv *env, 45 void JNICALL FieldAccess(jvmtiEnv *jvmti_env, JNIEnv *env,
46 jthread thr, jmethodID method, 46 jthread thr, jmethodID method,
47 jlocation location, jclass field_klass, jobject obj, jfieldID field) { 47 jlocation location, jclass field_klass, jobject obj, jfieldID field) {
48 if (printdump == JNI_TRUE) { 48 if (printdump == JNI_TRUE) {