Mercurial > hg > truffle
comparison src/share/vm/memory/generation.hpp @ 517:e9be0e04635a
6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off
Summary: Added safe_object_iterate() for use by JMapPerm.
Reviewed-by: tonyp
author | jmasa |
---|---|
date | Tue, 06 Jan 2009 07:05:05 -0800 |
parents | 818a18cd69a8 |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
500:ca7d48236048 | 517:e9be0e04635a |
---|---|
516 | 516 |
517 // Iterate over all objects in the generation, calling "cl.do_object" on | 517 // Iterate over all objects in the generation, calling "cl.do_object" on |
518 // each. | 518 // each. |
519 virtual void object_iterate(ObjectClosure* cl); | 519 virtual void object_iterate(ObjectClosure* cl); |
520 | 520 |
521 // Iterate over all safe objects in the generation, calling "cl.do_object" on | |
522 // each. An object is safe if its references point to other objects in | |
523 // the heap. This defaults to object_iterate() unless overridden. | |
524 virtual void safe_object_iterate(ObjectClosure* cl); | |
525 | |
521 // Iterate over all objects allocated in the generation since the last | 526 // Iterate over all objects allocated in the generation since the last |
522 // collection, calling "cl.do_object" on each. The generation must have | 527 // collection, calling "cl.do_object" on each. The generation must have |
523 // been initialized properly to support this function, or else this call | 528 // been initialized properly to support this function, or else this call |
524 // will fail. | 529 // will fail. |
525 virtual void object_iterate_since_last_GC(ObjectClosure* cl) = 0; | 530 virtual void object_iterate_since_last_GC(ObjectClosure* cl) = 0; |