1.1 --- a/src/share/vm/memory/iterator.hpp Mon Aug 31 05:27:29 2009 -0700 1.2 +++ b/src/share/vm/memory/iterator.hpp Wed Sep 02 00:04:29 2009 -0700 1.3 @@ -25,6 +25,7 @@ 1.4 // The following classes are C++ `closures` for iterating over objects, roots and spaces 1.5 1.6 class ReferenceProcessor; 1.7 +class DataLayout; 1.8 1.9 // Closure provides abortability. 1.10 1.11 @@ -62,6 +63,12 @@ 1.12 1.13 virtual void remember_klass(Klass* k) { /* do nothing */ } 1.14 1.15 + // In support of post-processing of weak references in 1.16 + // ProfileData (MethodDataOop) objects; see, for example, 1.17 + // VirtualCallData::oop_iterate(). 1.18 + virtual const bool should_remember_mdo() const { return false; } 1.19 + virtual void remember_mdo(DataLayout* v) { /* do nothing */ } 1.20 + 1.21 // If "true", invoke on nmethods (when scanning compiled frames). 1.22 virtual const bool do_nmethods() const { return false; } 1.23