hotspot/src/share/vm/prims/jvmtiTagMap.hpp
changeset 46329 53ccc37bda19
parent 32817 acc2744fd84b
equal deleted inserted replaced
46328:6061df52d610 46329:53ccc37bda19
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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.
    89   void set_tag(jobject obj, jlong tag);
    89   void set_tag(jobject obj, jlong tag);
    90   jlong get_tag(jobject obj);
    90   jlong get_tag(jobject obj);
    91 
    91 
    92   // deprecated heap iteration functions
    92   // deprecated heap iteration functions
    93   void iterate_over_heap(jvmtiHeapObjectFilter object_filter,
    93   void iterate_over_heap(jvmtiHeapObjectFilter object_filter,
    94                          KlassHandle klass,
    94                          Klass* klass,
    95                          jvmtiHeapObjectCallback heap_object_callback,
    95                          jvmtiHeapObjectCallback heap_object_callback,
    96                          const void* user_data);
    96                          const void* user_data);
    97 
    97 
    98   void iterate_over_reachable_objects(jvmtiHeapRootCallback heap_root_callback,
    98   void iterate_over_reachable_objects(jvmtiHeapRootCallback heap_root_callback,
    99                                       jvmtiStackReferenceCallback stack_ref_callback,
    99                                       jvmtiStackReferenceCallback stack_ref_callback,
   105                                                   const void* user_data);
   105                                                   const void* user_data);
   106 
   106 
   107 
   107 
   108   // advanced (JVMTI 1.1) heap iteration functions
   108   // advanced (JVMTI 1.1) heap iteration functions
   109   void iterate_through_heap(jint heap_filter,
   109   void iterate_through_heap(jint heap_filter,
   110                             KlassHandle klass,
   110                             Klass* klass,
   111                             const jvmtiHeapCallbacks* callbacks,
   111                             const jvmtiHeapCallbacks* callbacks,
   112                             const void* user_data);
   112                             const void* user_data);
   113 
   113 
   114   void follow_references(jint heap_filter,
   114   void follow_references(jint heap_filter,
   115                          KlassHandle klass,
   115                          Klass* klass,
   116                          jobject initial_object,
   116                          jobject initial_object,
   117                          const jvmtiHeapCallbacks* callbacks,
   117                          const jvmtiHeapCallbacks* callbacks,
   118                          const void* user_data);
   118                          const void* user_data);
   119 
   119 
   120   // get tagged objects
   120   // get tagged objects