--- old/src/share/vm/prims/jvmtiTagMap.cpp 2014-01-30 14:36:48.238925646 -0800 +++ new/src/share/vm/prims/jvmtiTagMap.cpp 2014-01-30 14:36:48.145592317 -0800 @@ -2790,6 +2790,9 @@ 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) { @@ -2804,6 +2807,7 @@ return false; } } +#endif // #ifndef PRODUCT // a class references its super class, interfaces, class loader, ... // and finally its static fields