Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.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 | 8a729074feae |
children | f81a7c0c618d |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
210 } else { | 210 } else { |
211 assert(o->is_forwarded(), "Sanity"); | 211 assert(o->is_forwarded(), "Sanity"); |
212 new_obj = o->forwardee(); | 212 new_obj = o->forwardee(); |
213 } | 213 } |
214 | 214 |
215 #ifdef DEBUG | 215 #ifndef PRODUCT |
216 // This code must come after the CAS test, or it will print incorrect | 216 // This code must come after the CAS test, or it will print incorrect |
217 // information. | 217 // information. |
218 if (TraceScavenge) { | 218 if (TraceScavenge) { |
219 gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (" SIZE_FORMAT ")}", | 219 gclog_or_tty->print_cr("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}", |
220 PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring", | 220 PSScavenge::should_scavenge(&new_obj) ? "copying" : "tenuring", |
221 new_obj->blueprint()->internal_name(), o, new_obj, new_obj->size()); | 221 new_obj->klass()->internal_name(), o, new_obj, new_obj->size()); |
222 } | 222 } |
223 #endif | 223 #endif |
224 | 224 |
225 return new_obj; | 225 return new_obj; |
226 } | 226 } |