< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.hpp
Print this page
rev 47676 : imported patch 8149127-rename-concurrentrefine-b
rev 47677 : [mq]: 8149127-rename-concurrentrefine-b-stefanj-review
rev 47678 : imported patch 8140255-move-sampling-thread
@@ -71,10 +71,11 @@
class G1CollectionSet;
class G1CollectorPolicy;
class G1Policy;
class G1HotCardCache;
class G1RemSet;
+class G1YoungRemSetSamplingThread;
class HeapRegionRemSetIterator;
class G1ConcurrentMark;
class ConcurrentMarkThread;
class G1ConcurrentRefine;
class GenerationCounters;
@@ -140,10 +141,12 @@
// Testing classes.
friend class G1CheckCSetFastTableClosure;
private:
+ G1YoungRemSetSamplingThread* _young_gen_sampling_thread;
+
WorkGang* _workers;
G1CollectorPolicy* _collector_policy;
static size_t _humongous_object_threshold_in_words;
@@ -551,10 +554,12 @@
// Merges the information gathered on a per-thread basis for all worker threads
// during GC into global variables.
void merge_per_thread_state_info(G1ParScanThreadStateSet* per_thread_states);
public:
+ G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; }
+
WorkGang* workers() const { return _workers; }
G1Allocator* allocator() {
return _allocator;
}
@@ -957,10 +962,11 @@
// May not return if something goes wrong.
G1CollectedHeap(G1CollectorPolicy* policy);
private:
jint initialize_concurrent_refinement();
+ jint initialize_young_gen_sampling_thread();
public:
// Initialize the G1CollectedHeap to have the initial and
// maximum sizes and remembered and barrier sets
// specified by the policy object.
jint initialize();
< prev index next >