mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size. Reviewed-by: stefank, coleenp
This commit is contained in:
parent
4ecee47075
commit
b454ece6d7
30 changed files with 7 additions and 388 deletions
|
@ -811,16 +811,6 @@ void OneContigSpaceCardGeneration::space_iterate(SpaceClosure* blk,
|
|||
blk->do_space(_the_space);
|
||||
}
|
||||
|
||||
void OneContigSpaceCardGeneration::object_iterate_since_last_GC(ObjectClosure* blk) {
|
||||
// Deal with delayed initialization of _the_space,
|
||||
// and lack of initialization of _last_gc.
|
||||
if (_last_gc.space() == NULL) {
|
||||
assert(the_space() != NULL, "shouldn't be NULL");
|
||||
_last_gc = the_space()->bottom_mark();
|
||||
}
|
||||
the_space()->object_iterate_from(_last_gc, blk);
|
||||
}
|
||||
|
||||
void OneContigSpaceCardGeneration::younger_refs_iterate(OopsInGenClosure* blk) {
|
||||
blk->set_generation(this);
|
||||
younger_refs_in_space_iterate(_the_space, blk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue