< prev index next >

src/hotspot/share/gc/g1/g1RootClosures.cpp

Print this page
@@ -41,12 +41,12 @@
    OopClosure* strong_oops() { return &_closures._oops; }
  
    CLDClosure* weak_clds()             { return &_closures._clds; }
    CLDClosure* strong_clds()           { return &_closures._clds; }
  
-   CodeBlobClosure* strong_codeblobs()      { return &_closures._codeblobs; }
-   CodeBlobClosure* weak_codeblobs()        { return &_closures._codeblobs; }
+   CodeBlobClosure* strong_codeblobs()      { return &_closures._strong_codeblobs; }
+   CodeBlobClosure* weak_codeblobs()        { return &_closures._weak_codeblobs; }
  };
  
  // Closures used during concurrent start.
  // The treatment of "weak" roots is selectable through the template parameter,
  // this is usually used to control unloading of classes and interned strings.

@@ -64,13 +64,13 @@
    OopClosure* weak_oops()   { return &_weak._oops; }
    OopClosure* strong_oops() { return &_strong._oops; }
  
    CLDClosure* weak_clds()             { return &_weak._clds; }
    CLDClosure* strong_clds()           { return &_strong._clds; }
- 
-   CodeBlobClosure* strong_codeblobs()      { return &_strong._codeblobs; }
-   CodeBlobClosure* weak_codeblobs()        { return &_weak._codeblobs; }
+   
+   CodeBlobClosure* strong_codeblobs()      { return &_strong._strong_codeblobs; }
+   CodeBlobClosure* weak_codeblobs()        { return &_weak._weak_codeblobs; }
  };
  
  G1EvacuationRootClosures* G1EvacuationRootClosures::create_root_closures(G1ParScanThreadState* pss, G1CollectedHeap* g1h) {
    G1EvacuationRootClosures* res = NULL;
    if (g1h->collector_state()->in_concurrent_start_gc()) {
< prev index next >