Mercurial > hg > truffle
diff src/share/vm/gc_interface/collectedHeap.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 | 7d7a7c599c17 |
children | 9a25e0c45327 |
line wrap: on
line diff
--- a/src/share/vm/gc_interface/collectedHeap.hpp Sat Dec 20 00:45:18 2008 -0800 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Tue Jan 06 07:05:05 2009 -0800 @@ -466,6 +466,10 @@ // This includes objects in permanent memory. virtual void object_iterate(ObjectClosure* cl) = 0; + // Similar to object_iterate() except iterates only + // over live objects. + virtual void safe_object_iterate(ObjectClosure* cl) = 0; + // Behaves the same as oop_iterate, except only traverses // interior pointers contained in permanent memory. If there // is no permanent memory, does nothing.