src/share/vm/prims/jvmtiTagMap.cpp
Print this page
rev 5824 : 8033289: clang: clean up unused function warning
Reviewed-by:
@@ -2788,10 +2788,11 @@
}
}
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) {
address obj_p = (address)mirror + offset;
address start = (address)InstanceMirrorKlass::start_of_static_fields(mirror);
@@ -2802,10 +2803,11 @@
return true;
} else {
return false;
}
}
+#endif // #ifdef ASSERT
// a class references its super class, interfaces, class loader, ...
// and finally its static fields
inline bool VM_HeapWalkOperation::iterate_over_class(oop java_class) {
int i;