Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parNew/parNewGeneration.hpp @ 4095:bca17e38de00
6593758: RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads
Summary: Select number of GC threads dynamically based on heap usage and number of Java threads
Reviewed-by: johnc, ysr, jcoomes
author | jmasa |
---|---|
date | Tue, 09 Aug 2011 10:16:01 -0700 |
parents | f95d63e2154a |
children | 441e946dc1af |
comparison
equal
deleted
inserted
replaced
4094:3a298e04d914 | 4095:bca17e38de00 |
---|---|
238 ParScanThreadStateSet* state_set); | 238 ParScanThreadStateSet* state_set); |
239 | 239 |
240 HeapWord* young_old_boundary() { return _young_old_boundary; } | 240 HeapWord* young_old_boundary() { return _young_old_boundary; } |
241 | 241 |
242 void work(int i); | 242 void work(int i); |
243 | |
244 // Reset the terminator in ParScanThreadStateSet for | |
245 // "active_workers" threads. | |
246 virtual void set_for_termination(int active_workers); | |
243 }; | 247 }; |
244 | 248 |
245 class KeepAliveClosure: public DefNewGeneration::KeepAliveClosure { | 249 class KeepAliveClosure: public DefNewGeneration::KeepAliveClosure { |
246 protected: | 250 protected: |
247 template <class T> void do_oop_work(T* p); | 251 template <class T> void do_oop_work(T* p); |