comparison src/share/vm/gc_implementation/shared/immutableSpace.cpp @ 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 b632e80fc9dc
children db9981fd3124
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
38 38
39 _bottom = bottom; 39 _bottom = bottom;
40 _end = end; 40 _end = end;
41 } 41 }
42 42
43 void ImmutableSpace::oop_iterate(OopClosure* cl) { 43 void ImmutableSpace::oop_iterate(ExtendedOopClosure* cl) {
44 HeapWord* obj_addr = bottom(); 44 HeapWord* obj_addr = bottom();
45 HeapWord* t = end(); 45 HeapWord* t = end();
46 // Could call objects iterate, but this is easier. 46 // Could call objects iterate, but this is easier.
47 while (obj_addr < t) { 47 while (obj_addr < t) {
48 obj_addr += oop(obj_addr)->oop_iterate(cl); 48 obj_addr += oop(obj_addr)->oop_iterate(cl);