--- 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