1.1 --- a/src/share/vm/memory/cardTableModRefBS.hpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/memory/cardTableModRefBS.hpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -285,12 +285,6 @@ 1.4 1.5 bool has_write_ref_pre_barrier() { return false; } 1.6 1.7 - inline bool write_ref_needs_barrier(void* field, oop new_val) { 1.8 - // Note that this assumes the perm gen is the highest generation 1.9 - // in the address space 1.10 - return new_val != NULL && !new_val->is_perm(); 1.11 - } 1.12 - 1.13 // Record a reference update. Note that these versions are precise! 1.14 // The scanning code has to handle the fact that the write barrier may be 1.15 // either precise or imprecise. We make non-virtual inline variants of