Mercurial > hg > truffle
diff src/share/vm/oops/instanceKlass.cpp @ 11096:71180a6e5080
7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful.
Summary: Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.
Reviewed-by: stefank, coleenp
author | jiangli |
---|---|
date | Wed, 03 Jul 2013 17:26:59 -0400 |
parents | e0c9a1d29eb4 |
children | 825e6cb66923 |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp Tue Jul 02 16:54:24 2013 +0200 +++ b/src/share/vm/oops/instanceKlass.cpp Wed Jul 03 17:26:59 2013 -0400 @@ -1321,12 +1321,6 @@ ArrayKlass::cast(array_klasses())->array_klasses_do(f); } - -void InstanceKlass::with_array_klasses_do(void f(Klass* k)) { - f(this); - array_klasses_do(f); -} - #ifdef ASSERT static int linear_search(Array<Method*>* methods, Symbol* name, Symbol* signature) { int len = methods->length();