hotspot/src/share/vm/prims/jvmtiTagMap.cpp
changeset 22741 13fdeb7d7aad
parent 20282 7f9cbdf89af2
child 22895 52fbddf39901
--- a/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Wed Feb 05 15:14:47 2014 -0800
+++ b/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Wed Feb 05 21:24:29 2014 -0800
@@ -2790,6 +2790,7 @@
   return true;
 }
 
+#ifdef ASSERT
 // verify that a static oop field is in range
 static inline bool verify_static_oop(InstanceKlass* ik,
                                      oop mirror, int offset) {
@@ -2804,6 +2805,7 @@
     return false;
   }
 }
+#endif // #ifdef ASSERT
 
 // a class references its super class, interfaces, class loader, ...
 // and finally its static fields