comparison src/share/vm/oops/oop.inline2.hpp @ 989:148e5441d916

6863023: need non-perm oops in code cache for JSR 292 Summary: Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
author jrose
date Tue, 15 Sep 2009 21:53:47 -0700
parents a61af66fc99e
children c18cbe5936b8
comparison
equal deleted inserted replaced
987:00977607da34 989:148e5441d916
32 32
33 // Check for NULL also. 33 // Check for NULL also.
34 inline bool oopDesc::is_perm_or_null() const { 34 inline bool oopDesc::is_perm_or_null() const {
35 return this == NULL || is_perm(); 35 return this == NULL || is_perm();
36 } 36 }
37
38 inline bool oopDesc::is_scavengable() const {
39 return Universe::heap()->is_scavengable(this);
40 }