Top


定義場所(file name)

hotspot/src/share/vm/prims/jvmtiEnv.cpp

名前(function name)

jvmtiError
JvmtiEnv::SetFieldModificationWatch(fieldDescriptor* fdesc_ptr) {

本体部(body)

  {- -------------------------------------------
  (1) 
      ---------------------------------------- -}

      // make sure we haven't set this watch before
      if (fdesc_ptr->is_field_modification_watched()) return JVMTI_ERROR_DUPLICATE;
      fdesc_ptr->set_is_field_modification_watched(true);
      update_klass_field_access_flag(fdesc_ptr);

      JvmtiEventController::change_field_watch(JVMTI_EVENT_FIELD_MODIFICATION, true);

      return JVMTI_ERROR_NONE;
    } /* end SetFieldModificationWatch */

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.