comparison src/share/vm/memory/cardTableModRefBS.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 fd09f2d8283e
children 96a337d307bd 6f817ce50129
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
283 283
284 // *** Barrier set functions. 284 // *** Barrier set functions.
285 285
286 bool has_write_ref_pre_barrier() { return false; } 286 bool has_write_ref_pre_barrier() { return false; }
287 287
288 inline bool write_ref_needs_barrier(void* field, oop new_val) {
289 // Note that this assumes the perm gen is the highest generation
290 // in the address space
291 return new_val != NULL && !new_val->is_perm();
292 }
293
294 // Record a reference update. Note that these versions are precise! 288 // Record a reference update. Note that these versions are precise!
295 // The scanning code has to handle the fact that the write barrier may be 289 // The scanning code has to handle the fact that the write barrier may be
296 // either precise or imprecise. We make non-virtual inline variants of 290 // either precise or imprecise. We make non-virtual inline variants of
297 // these functions here for performance. 291 // these functions here for performance.
298 protected: 292 protected: