Mercurial > hg > graal-compiler
comparison src/share/vm/memory/generation.hpp @ 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 | 8617e38bb4cb |
children | 7b06ae405d7b |
comparison
equal
deleted
inserted
replaced
11065:cedf20e2a655 | 11096:71180a6e5080 |
---|---|
549 // Iterate over all safe objects in the generation, calling "cl.do_object" on | 549 // Iterate over all safe objects in the generation, calling "cl.do_object" on |
550 // each. An object is safe if its references point to other objects in | 550 // each. An object is safe if its references point to other objects in |
551 // the heap. This defaults to object_iterate() unless overridden. | 551 // the heap. This defaults to object_iterate() unless overridden. |
552 virtual void safe_object_iterate(ObjectClosure* cl); | 552 virtual void safe_object_iterate(ObjectClosure* cl); |
553 | 553 |
554 // Iterate over all objects allocated in the generation since the last | |
555 // collection, calling "cl.do_object" on each. The generation must have | |
556 // been initialized properly to support this function, or else this call | |
557 // will fail. | |
558 virtual void object_iterate_since_last_GC(ObjectClosure* cl) = 0; | |
559 | |
560 // Apply "cl->do_oop" to (the address of) all and only all the ref fields | 554 // Apply "cl->do_oop" to (the address of) all and only all the ref fields |
561 // in the current generation that contain pointers to objects in younger | 555 // in the current generation that contain pointers to objects in younger |
562 // generations. Objects allocated since the last "save_marks" call are | 556 // generations. Objects allocated since the last "save_marks" call are |
563 // excluded. | 557 // excluded. |
564 virtual void younger_refs_iterate(OopsInGenClosure* cl) = 0; | 558 virtual void younger_refs_iterate(OopsInGenClosure* cl) = 0; |
722 size_t contiguous_available() const; | 716 size_t contiguous_available() const; |
723 | 717 |
724 // Iteration | 718 // Iteration |
725 void object_iterate(ObjectClosure* blk); | 719 void object_iterate(ObjectClosure* blk); |
726 void space_iterate(SpaceClosure* blk, bool usedOnly = false); | 720 void space_iterate(SpaceClosure* blk, bool usedOnly = false); |
727 void object_iterate_since_last_GC(ObjectClosure* cl); | |
728 | 721 |
729 void younger_refs_iterate(OopsInGenClosure* blk); | 722 void younger_refs_iterate(OopsInGenClosure* blk); |
730 | 723 |
731 inline CompactibleSpace* first_compaction_space() const; | 724 inline CompactibleSpace* first_compaction_space() const; |
732 | 725 |