< prev index next >
src/hotspot/share/memory/iterator.hpp
Print this page
@@ -100,18 +100,10 @@
// 3) do_cld on the class loader data in class loaders.
virtual bool do_metadata() = 0;
virtual void do_klass(Klass* k) = 0;
virtual void do_cld(ClassLoaderData* cld) = 0;
-
-#ifdef ASSERT
- // Default verification of each visited oop field.
- template <typename T> void verify(T* p);
-
- // Can be used by subclasses to turn off the default verification of oop fields.
- virtual bool should_verify_oops() { return true; }
-#endif
};
// An OopIterateClosure that can be used when there's no need to visit the Metadata.
class BasicOopIterateClosure : public OopIterateClosure {
public:
@@ -349,11 +341,10 @@
// Dispatches to the non-virtual functions if OopClosureType has
// a concrete implementation, otherwise a virtual call is taken.
class Devirtualizer {
public:
- template <typename OopClosureType, typename T> static void do_oop_no_verify(OopClosureType* closure, T* p);
template <typename OopClosureType, typename T> static void do_oop(OopClosureType* closure, T* p);
template <typename OopClosureType> static void do_klass(OopClosureType* closure, Klass* k);
template <typename OopClosureType> static void do_cld(OopClosureType* closure, ClassLoaderData* cld);
template <typename OopClosureType> static bool do_metadata(OopClosureType* closure);
};
< prev index next >