< prev index next >

src/hotspot/share/gc/g1/g1FullGCOopClosures.inline.hpp

Print this page
@@ -61,10 +61,18 @@
  
  inline void G1MarkAndPushClosure::do_cld(ClassLoaderData* cld) {
    _marker->follow_cld(cld);
  }
  
+ inline void G1MarkAndPushClosure::do_method(Method* m) {
+   m->record_marking_cycle();
+ }
+ 
+ inline void G1MarkAndPushClosure::do_nmethod(nmethod* nm) {
+   nm->follow_nmethod(this);
+ }
+ 
  template <class T> inline void G1AdjustClosure::adjust_pointer(T* p) {
    T heap_oop = RawAccess<>::oop_load(p);
    if (CompressedOops::is_null(heap_oop)) {
      return;
    }
< prev index next >