< prev index next >

src/share/vm/memory/iterator.hpp

Print this page
rev 10188 : [mq]: scavenge_nmethods_auto_prune

@@ -286,10 +286,11 @@
   void do_nmethod(nmethod* nm);
  public:
   CodeBlobToOopClosure(OopClosure* cl, bool fix_relocations) : _cl(cl), _fix_relocations(fix_relocations) {}
   virtual void do_code_blob(CodeBlob* cb);
 
+  bool fix_relocations() const { return _fix_relocations; }
   const static bool FixRelocations = true;
 };
 
 class MarkingCodeBlobClosure : public CodeBlobToOopClosure {
  public:
< prev index next >