< prev index next >

src/hotspot/share/gc/g1/g1SharedClosures.hpp

Print this page

        

@@ -35,13 +35,14 @@
 public:
   G1ParCopyClosure<G1BarrierNone, Mark> _oops;
   G1ParCopyClosure<G1BarrierCLD,  Mark> _oops_in_cld;
 
   G1CLDScanClosure                _clds;
-  G1CodeBlobClosure               _codeblobs;
+  G1CodeBlobClosure               _strong_codeblobs;
+  G1CodeBlobClosure               _weak_codeblobs;
 
   G1SharedClosures(G1CollectedHeap* g1h, G1ParScanThreadState* pss, bool process_only_dirty, int cld_claim) :
     _oops(g1h, pss),
     _oops_in_cld(g1h, pss),
     _clds(&_oops_in_cld, process_only_dirty, cld_claim),
-    _codeblobs(&_oops) {}
+    _strong_codeblobs(&_oops, true), _weak_codeblobs(&_oops, false) {}
 };
< prev index next >