changeset 9184:25738d7267c3

8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase Reviewed-by: dholmes, jcbeyler
author manc
date Wed, 01 May 2019 20:25:31 -0700
parents c61a86859323
children bd6ec847115e
files src/share/vm/prims/jvmtiEnvBase.hpp src/share/vm/prims/jvmtiTagMap.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.hpp	Tue Apr 30 18:44:41 2019 -0700
+++ b/src/share/vm/prims/jvmtiEnvBase.hpp	Wed May 01 20:25:31 2019 -0700
@@ -252,7 +252,7 @@
     return _tag_map;
   }
 
-  JvmtiTagMap* acquire_tag_map() {
+  JvmtiTagMap* tag_map_acquire() {
     return (JvmtiTagMap*)OrderAccess::load_ptr_acquire(&_tag_map);
   }
 
--- a/src/share/vm/prims/jvmtiTagMap.cpp	Tue Apr 30 18:44:41 2019 -0700
+++ b/src/share/vm/prims/jvmtiTagMap.cpp	Wed May 01 20:25:31 2019 -0700
@@ -499,7 +499,7 @@
 // returns the tag map for the given environments. If the tag map
 // doesn't exist then it is created.
 JvmtiTagMap* JvmtiTagMap::tag_map_for(JvmtiEnv* env) {
-  JvmtiTagMap* tag_map = ((JvmtiEnvBase*)env)->acquire_tag_map();
+  JvmtiTagMap* tag_map = ((JvmtiEnvBase*)env)->tag_map_acquire();
   if (tag_map == NULL) {
     MutexLocker mu(JvmtiThreadState_lock);
     tag_map = ((JvmtiEnvBase*)env)->tag_map();
@@ -3282,7 +3282,7 @@
   if (JvmtiEnv::environments_might_exist()) {
     JvmtiEnvIterator it;
     for (JvmtiEnvBase* env = it.first(); env != NULL; env = it.next(env)) {
-      JvmtiTagMap* tag_map = env->acquire_tag_map();
+      JvmtiTagMap* tag_map = env->tag_map_acquire();
       if (tag_map != NULL && !tag_map->is_empty()) {
         tag_map->do_weak_oops(is_alive, f);
       }