hotspot/src/share/vm/gc_implementation/g1/g1StringDedup.hpp
changeset 29680 e5203ed6d805
parent 25351 7c198a690050
equal deleted inserted replaced
29472:740ba666f6bb 29680:e5203ed6d805
    89 class OopClosure;
    89 class OopClosure;
    90 class BoolObjectClosure;
    90 class BoolObjectClosure;
    91 class ThreadClosure;
    91 class ThreadClosure;
    92 class outputStream;
    92 class outputStream;
    93 class G1StringDedupTable;
    93 class G1StringDedupTable;
       
    94 class G1GCPhaseTimes;
    94 
    95 
    95 //
    96 //
    96 // Main interface for interacting with string deduplication.
    97 // Main interface for interacting with string deduplication.
    97 //
    98 //
    98 class G1StringDedup : public AllStatic {
    99 class G1StringDedup : public AllStatic {
   129                                       unsigned int queue, oop java_string);
   130                                       unsigned int queue, oop java_string);
   130 
   131 
   131   static void oops_do(OopClosure* keep_alive);
   132   static void oops_do(OopClosure* keep_alive);
   132   static void unlink(BoolObjectClosure* is_alive);
   133   static void unlink(BoolObjectClosure* is_alive);
   133   static void unlink_or_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive,
   134   static void unlink_or_oops_do(BoolObjectClosure* is_alive, OopClosure* keep_alive,
   134                                 bool allow_resize_and_rehash = true);
   135                                 bool allow_resize_and_rehash, G1GCPhaseTimes* phase_times = NULL);
   135 
   136 
   136   static void threads_do(ThreadClosure* tc);
   137   static void threads_do(ThreadClosure* tc);
   137   static void print_worker_threads_on(outputStream* st);
   138   static void print_worker_threads_on(outputStream* st);
   138   static void verify();
   139   static void verify();
   139 };
   140 };