comparison src/share/vm/prims/jvmtiTagMap.cpp @ 15505:51c6ce89d4dd

8033289: clang: clean up unused function warning Reviewed-by: coleenp, dholmes, mgerdin
author henryjen
date Wed, 05 Feb 2014 21:24:29 -0800
parents 4ca6dc0799b6
children 7848fc12602b
comparison
equal deleted inserted replaced
15504:97b49458b616 15505:51c6ce89d4dd
2788 } 2788 }
2789 } 2789 }
2790 return true; 2790 return true;
2791 } 2791 }
2792 2792
2793 #ifdef ASSERT
2793 // verify that a static oop field is in range 2794 // verify that a static oop field is in range
2794 static inline bool verify_static_oop(InstanceKlass* ik, 2795 static inline bool verify_static_oop(InstanceKlass* ik,
2795 oop mirror, int offset) { 2796 oop mirror, int offset) {
2796 address obj_p = (address)mirror + offset; 2797 address obj_p = (address)mirror + offset;
2797 address start = (address)InstanceMirrorKlass::start_of_static_fields(mirror); 2798 address start = (address)InstanceMirrorKlass::start_of_static_fields(mirror);
2802 return true; 2803 return true;
2803 } else { 2804 } else {
2804 return false; 2805 return false;
2805 } 2806 }
2806 } 2807 }
2808 #endif // #ifdef ASSERT
2807 2809
2808 // a class references its super class, interfaces, class loader, ... 2810 // a class references its super class, interfaces, class loader, ...
2809 // and finally its static fields 2811 // and finally its static fields
2810 inline bool VM_HeapWalkOperation::iterate_over_class(oop java_class) { 2812 inline bool VM_HeapWalkOperation::iterate_over_class(oop java_class) {
2811 int i; 2813 int i;