src/hotspot/share/gc/g1/g1RootProcessor.hpp
changeset 47885 5caa1d5f74c1
parent 47216 71c04702a3d5
child 49911 358be4680d12
equal deleted inserted replaced
47884:3cfab71d6c81 47885:5caa1d5f74c1
    63     G1RP_PS_jvmti_oops_do,
    63     G1RP_PS_jvmti_oops_do,
    64     G1RP_PS_CodeCache_oops_do,
    64     G1RP_PS_CodeCache_oops_do,
    65     G1RP_PS_aot_oops_do,
    65     G1RP_PS_aot_oops_do,
    66     G1RP_PS_filter_satb_buffers,
    66     G1RP_PS_filter_satb_buffers,
    67     G1RP_PS_refProcessor_oops_do,
    67     G1RP_PS_refProcessor_oops_do,
       
    68     G1RP_PS_weakProcessor_oops_do,
    68     // Leave this one last.
    69     // Leave this one last.
    69     G1RP_PS_NumElements
    70     G1RP_PS_NumElements
    70   };
    71   };
    71 
    72 
    72   void worker_has_discovered_all_strong_classes();
    73   void worker_has_discovered_all_strong_classes();
   116   // to avoid keeping every string live when doing class unloading.
   117   // to avoid keeping every string live when doing class unloading.
   117   void process_all_roots_no_string_table(OopClosure* oops,
   118   void process_all_roots_no_string_table(OopClosure* oops,
   118                                          CLDClosure* clds,
   119                                          CLDClosure* clds,
   119                                          CodeBlobClosure* blobs);
   120                                          CodeBlobClosure* blobs);
   120 
   121 
       
   122   // Apply closure to weak roots in the system. Used during the adjust phase
       
   123   // for the Full GC.
       
   124   void process_full_gc_weak_roots(OopClosure* oops);
       
   125 
   121   // Number of worker threads used by the root processor.
   126   // Number of worker threads used by the root processor.
   122   uint n_workers() const;
   127   uint n_workers() const;
   123 };
   128 };
   124 
   129 
   125 #endif // SHARE_VM_GC_G1_G1ROOTPROCESSOR_HPP
   130 #endif // SHARE_VM_GC_G1_G1ROOTPROCESSOR_HPP