src/share/vm/prims/jvmtiTagMap.cpp

Print this page
rev 5824 : 8033289: clang: clean up unused function warning
Reviewed-by:

*** 2788,2797 **** --- 2788,2800 ---- } } return true; } + #ifndef PRODUCT + // Function only used in assert, which will be disabled with NDEBUG + // ??? Somehow NDEBUG is not working, use PRODUCT // 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,2811 **** --- 2805,2815 ---- return true; } else { return false; } } + #endif // #ifndef PRODUCT // 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;