< prev index next >
src/hotspot/share/gc/g1/g1ConcurrentRefine.hpp
Print this page
rev 47675 : [mq]: 8149127-rename-concurrentrefine-a
rev 47676 : imported patch 8149127-rename-concurrentrefine-b
rev 47678 : imported patch 8140255-move-sampling-thread
*** 29,45 ****
#include "utilities/globalDefinitions.hpp"
// Forward decl
class CardTableEntryClosure;
class G1ConcurrentRefineThread;
- class G1YoungRemSetSamplingThread;
class outputStream;
class ThreadClosure;
class G1ConcurrentRefine : public CHeapObj<mtGC> {
- G1YoungRemSetSamplingThread* _sample_thread;
-
G1ConcurrentRefineThread** _threads;
uint _n_worker_threads;
/*
* The value of the update buffer queue length falls into one of 3 zones:
* green, yellow, red. If the value is in [0, green) nothing is
--- 29,42 ----
*** 84,105 ****
void stop();
void adjust(double update_rs_time, size_t update_rs_processed_buffers, double goal_ms);
! // Iterate over all concurrent refinement threads
void threads_do(ThreadClosure *tc);
- // Iterate over all worker refinement threads
- void worker_threads_do(ThreadClosure * tc);
-
- // The RS sampling thread has nothing to do with refinement, but is here for now.
- G1YoungRemSetSamplingThread * sampling_thread() const { return _sample_thread; }
-
static uint thread_num();
! void print_worker_threads_on(outputStream* st) const;
size_t green_zone() const { return _green_zone; }
size_t yellow_zone() const { return _yellow_zone; }
size_t red_zone() const { return _red_zone; }
};
--- 81,96 ----
void stop();
void adjust(double update_rs_time, size_t update_rs_processed_buffers, double goal_ms);
! // Iterate over all concurrent refinement threads applying the given closure.
void threads_do(ThreadClosure *tc);
static uint thread_num();
! void print_threads_on(outputStream* st) const;
size_t green_zone() const { return _green_zone; }
size_t yellow_zone() const { return _yellow_zone; }
size_t red_zone() const { return _red_zone; }
};
< prev index next >