@@ -1872,19 +1872,6 @@ void JvmtiExport::notice_unwind_due_to_exception(JavaThread *thread, Method* met
1872
1872
1873
1873
oop JvmtiExport::jni_GetField_probe (JavaThread *thread, jobject jobj, oop obj,
1874
1874
Klass* klass, jfieldID fieldID, bool is_static) {
1875
- if (*((int *)get_field_access_count_addr ()) > 0 && thread->has_last_Java_frame ()) {
1876
- // At least one field access watch is set so we have more work
1877
- // to do. This wrapper is used by entry points that allow us
1878
- // to create handles in post_field_access_by_jni().
1879
- post_field_access_by_jni (thread, obj, klass, fieldID, is_static);
1880
- // event posting can block so refetch oop if we were passed a jobj
1881
- if (jobj != NULL ) return JNIHandles::resolve_non_null (jobj);
1882
- }
1883
- return obj;
1884
- }
1885
-
1886
- oop JvmtiExport::jni_GetField_probe_nh (JavaThread *thread, jobject jobj, oop obj,
1887
- Klass* klass, jfieldID fieldID, bool is_static) {
1888
1875
if (*((int *)get_field_access_count_addr ()) > 0 && thread->has_last_Java_frame ()) {
1889
1876
// At least one field access watch is set so we have more work to do.
1890
1877
post_field_access_by_jni (thread, obj, klass, fieldID, is_static);
@@ -1962,20 +1949,6 @@ void JvmtiExport::post_field_access(JavaThread *thread, Method* method,
1962
1949
oop JvmtiExport::jni_SetField_probe (JavaThread *thread, jobject jobj, oop obj,
1963
1950
Klass* klass, jfieldID fieldID, bool is_static,
1964
1951
char sig_type, jvalue *value) {
1965
- if (*((int *)get_field_modification_count_addr ()) > 0 && thread->has_last_Java_frame ()) {
1966
- // At least one field modification watch is set so we have more work
1967
- // to do. This wrapper is used by entry points that allow us
1968
- // to create handles in post_field_modification_by_jni().
1969
- post_field_modification_by_jni (thread, obj, klass, fieldID, is_static, sig_type, value);
1970
- // event posting can block so refetch oop if we were passed a jobj
1971
- if (jobj != NULL ) return JNIHandles::resolve_non_null (jobj);
1972
- }
1973
- return obj;
1974
- }
1975
-
1976
- oop JvmtiExport::jni_SetField_probe_nh (JavaThread *thread, jobject jobj, oop obj,
1977
- Klass* klass, jfieldID fieldID, bool is_static,
1978
- char sig_type, jvalue *value) {
1979
1952
if (*((int *)get_field_modification_count_addr ()) > 0 && thread->has_last_Java_frame ()) {
1980
1953
// At least one field modification watch is set so we have more work to do.
1981
1954
post_field_modification_by_jni (thread, obj, klass, fieldID, is_static, sig_type, value);
0 commit comments