--- old/src/share/vm/oops/instanceKlass.hpp 2013-06-05 15:19:53.750996121 -0400 +++ new/src/share/vm/oops/instanceKlass.hpp 2013-06-05 15:19:52.303384516 -0400 @@ -792,7 +792,6 @@ void methods_do(void f(Method* method)); void array_klasses_do(void f(Klass* k)); void array_klasses_do(void f(Klass* k, TRAPS), TRAPS); - void with_array_klasses_do(void f(Klass* k)); bool super_types_do(SuperTypeClosure* blk); // Casting from Klass* @@ -872,10 +871,6 @@ } } - // Allocation profiling support - juint alloc_size() const { return _alloc_count * size_helper(); } - void set_alloc_size(juint n) {} - // Use this to return the size of an instance in heap words: int size_helper() const { return layout_helper_to_size_helper(layout_helper());