src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp

changeset 1546
44f61c24ddab
parent 1525
fa357420e7d2
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp	Fri Dec 11 09:30:48 2009 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp	Wed Dec 16 15:12:51 2009 -0800
     1.3 @@ -84,11 +84,12 @@
     1.4    jint _processed_buffers_rs_thread;
     1.5  
     1.6  public:
     1.7 -  DirtyCardQueueSet();
     1.8 +  DirtyCardQueueSet(bool notify_when_complete = true);
     1.9  
    1.10    void initialize(Monitor* cbl_mon, Mutex* fl_lock,
    1.11 -                  int max_completed_queue = 0,
    1.12 -                  Mutex* lock = NULL, PtrQueueSet* fl_owner = NULL);
    1.13 +                  int process_completed_threshold,
    1.14 +                  int max_completed_queue,
    1.15 +                  Mutex* lock, PtrQueueSet* fl_owner = NULL);
    1.16  
    1.17    // The number of parallel ids that can be claimed to allow collector or
    1.18    // mutator threads to do card-processing work.
    1.19 @@ -123,9 +124,9 @@
    1.20                                           bool during_pause = false);
    1.21  
    1.22    bool apply_closure_to_completed_buffer_helper(int worker_i,
    1.23 -                                                CompletedBufferNode* nd);
    1.24 +                                                BufferNode* nd);
    1.25  
    1.26 -  CompletedBufferNode* get_completed_buffer(int stop_at);
    1.27 +  BufferNode* get_completed_buffer(int stop_at);
    1.28  
    1.29    // Applies the current closure to all completed buffers,
    1.30    // non-consumptively.

mercurial