hotspot/src/share/vm/oops/oop.inline2.hpp
changeset 3908 24b55ad4c228
parent 1 489c9b5090e2
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/oops/oop.inline2.hpp	Tue Sep 15 11:09:34 2009 -0700
+++ b/hotspot/src/share/vm/oops/oop.inline2.hpp	Tue Sep 15 21:53:47 2009 -0700
@@ -34,3 +34,7 @@
 inline bool oopDesc::is_perm_or_null() const {
   return this == NULL || is_perm();
 }
+
+inline bool oopDesc::is_scavengable() const {
+  return Universe::heap()->is_scavengable(this);
+}