diff 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
line wrap: on
line diff
--- a/src/share/vm/memory/cardTableModRefBS.hpp	Fri Aug 31 16:39:35 2012 -0700
+++ b/src/share/vm/memory/cardTableModRefBS.hpp	Sat Sep 01 13:25:18 2012 -0400
@@ -285,12 +285,6 @@
 
   bool has_write_ref_pre_barrier() { return false; }
 
-  inline bool write_ref_needs_barrier(void* field, oop new_val) {
-    // Note that this assumes the perm gen is the highest generation
-    // in the address space
-    return new_val != NULL && !new_val->is_perm();
-  }
-
   // Record a reference update. Note that these versions are precise!
   // The scanning code has to handle the fact that the write barrier may be
   // either precise or imprecise. We make non-virtual inline variants of