hotspot/src/share/vm/prims/jvmtiExport.hpp
changeset 46329 53ccc37bda19
parent 42650 1f304d0c888b
child 46458 3c12af929e7d
equal deleted inserted replaced
46328:6061df52d610 46329:53ccc37bda19
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   148     JVMTI_VERSION_VALUE  = 0x30000000,
   148     JVMTI_VERSION_VALUE  = 0x30000000,
   149     JVMDI_VERSION_VALUE  = 0x20000000
   149     JVMDI_VERSION_VALUE  = 0x20000000
   150   };
   150   };
   151 
   151 
   152   static void post_field_modification(JavaThread *thread, Method* method, address location,
   152   static void post_field_modification(JavaThread *thread, Method* method, address location,
   153                                       KlassHandle field_klass, Handle object, jfieldID field,
   153                                       Klass* field_klass, Handle object, jfieldID field,
   154                                       char sig_type, jvalue *value);
   154                                       char sig_type, jvalue *value);
   155 
   155 
   156 
   156 
   157   // posts a DynamicCodeGenerated event (internal/private implementation).
   157   // posts a DynamicCodeGenerated event (internal/private implementation).
   158   // The public post_dynamic_code_generated* functions make use of the
   158   // The public post_dynamic_code_generated* functions make use of the
   308     oop obj, Klass* klass, jfieldID fieldID, bool is_static)
   308     oop obj, Klass* klass, jfieldID fieldID, bool is_static)
   309     NOT_JVMTI_RETURN_(NULL);
   309     NOT_JVMTI_RETURN_(NULL);
   310   static void post_field_access_by_jni   (JavaThread *thread, oop obj,
   310   static void post_field_access_by_jni   (JavaThread *thread, oop obj,
   311     Klass* klass, jfieldID fieldID, bool is_static) NOT_JVMTI_RETURN;
   311     Klass* klass, jfieldID fieldID, bool is_static) NOT_JVMTI_RETURN;
   312   static void post_field_access          (JavaThread *thread, Method* method,
   312   static void post_field_access          (JavaThread *thread, Method* method,
   313     address location, KlassHandle field_klass, Handle object, jfieldID field) NOT_JVMTI_RETURN;
   313     address location, Klass* field_klass, Handle object, jfieldID field) NOT_JVMTI_RETURN;
   314   static oop jni_SetField_probe          (JavaThread *thread, jobject jobj,
   314   static oop jni_SetField_probe          (JavaThread *thread, jobject jobj,
   315     oop obj, Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   315     oop obj, Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   316     jvalue *value) NOT_JVMTI_RETURN_(NULL);
   316     jvalue *value) NOT_JVMTI_RETURN_(NULL);
   317   static oop jni_SetField_probe_nh       (JavaThread *thread, jobject jobj,
   317   static oop jni_SetField_probe_nh       (JavaThread *thread, jobject jobj,
   318     oop obj, Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   318     oop obj, Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   319     jvalue *value) NOT_JVMTI_RETURN_(NULL);
   319     jvalue *value) NOT_JVMTI_RETURN_(NULL);
   320   static void post_field_modification_by_jni(JavaThread *thread, oop obj,
   320   static void post_field_modification_by_jni(JavaThread *thread, oop obj,
   321     Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   321     Klass* klass, jfieldID fieldID, bool is_static, char sig_type,
   322     jvalue *value);
   322     jvalue *value);
   323   static void post_raw_field_modification(JavaThread *thread, Method* method,
   323   static void post_raw_field_modification(JavaThread *thread, Method* method,
   324     address location, KlassHandle field_klass, Handle object, jfieldID field,
   324     address location, Klass* field_klass, Handle object, jfieldID field,
   325     char sig_type, jvalue *value) NOT_JVMTI_RETURN;
   325     char sig_type, jvalue *value) NOT_JVMTI_RETURN;
   326 
   326 
   327   static void post_method_entry          (JavaThread *thread, Method* method, frame current_frame) NOT_JVMTI_RETURN;
   327   static void post_method_entry          (JavaThread *thread, Method* method, frame current_frame) NOT_JVMTI_RETURN;
   328   static void post_method_exit           (JavaThread *thread, Method* method, frame current_frame) NOT_JVMTI_RETURN;
   328   static void post_method_exit           (JavaThread *thread, Method* method, frame current_frame) NOT_JVMTI_RETURN;
   329 
   329