Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/generation.hpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | d2a62e0f25eb |
children | 8617e38bb4cb |
line wrap: on
line diff
--- a/src/share/vm/memory/generation.hpp Fri Aug 31 16:39:35 2012 -0700 +++ b/src/share/vm/memory/generation.hpp Sat Sep 01 13:25:18 2012 -0400 @@ -48,18 +48,17 @@ // - OneContigSpaceCardGeneration - abstract class holding a single // contiguous space with card marking // - TenuredGeneration - tenured (old object) space (markSweepCompact) -// - CompactingPermGenGen - reflective object area (klasses, methods, symbols, ...) // - ConcurrentMarkSweepGeneration - Mostly Concurrent Mark Sweep Generation // (Detlefs-Printezis refinement of // Boehm-Demers-Schenker) // // The system configurations currently allowed are: // -// DefNewGeneration + TenuredGeneration + PermGeneration -// DefNewGeneration + ConcurrentMarkSweepGeneration + ConcurrentMarkSweepPermGen +// DefNewGeneration + TenuredGeneration +// DefNewGeneration + ConcurrentMarkSweepGeneration // -// ParNewGeneration + TenuredGeneration + PermGeneration -// ParNewGeneration + ConcurrentMarkSweepGeneration + ConcurrentMarkSweepPermGen +// ParNewGeneration + TenuredGeneration +// ParNewGeneration + ConcurrentMarkSweepGeneration // class DefNewGeneration; @@ -442,7 +441,6 @@ // Mark sweep support phase2 virtual void prepare_for_compaction(CompactPoint* cp); // Mark sweep support phase3 - virtual void pre_adjust_pointers() {ShouldNotReachHere();} virtual void adjust_pointers(); // Mark sweep support phase4 virtual void compact(); @@ -538,11 +536,11 @@ // Iterate over all the ref-containing fields of all objects in the // generation, calling "cl.do_oop" on each. - virtual void oop_iterate(OopClosure* cl); + virtual void oop_iterate(ExtendedOopClosure* cl); // Same as above, restricted to the intersection of a memory region and // the generation. - virtual void oop_iterate(MemRegion mr, OopClosure* cl); + virtual void oop_iterate(MemRegion mr, ExtendedOopClosure* cl); // Iterate over all objects in the generation, calling "cl.do_object" on // each. @@ -666,7 +664,6 @@ class OneContigSpaceCardGeneration: public CardGeneration { friend class VMStructs; // Abstractly, this is a subtype that gets access to protected fields. - friend class CompactingPermGen; friend class VM_PopulateDumpSharedSpace; protected: