8087323: Unify and split the work gang classes

Reviewed-by: jmasa, sjohanss
This commit is contained in:
Stefan Karlsson 2015-06-29 11:09:39 +02:00
parent aee130df16
commit e25bcfd3d3
13 changed files with 329 additions and 327 deletions

View file

@ -30,7 +30,7 @@
#include "gc/shared/collectorPolicy.hpp"
#include "gc/shared/generation.hpp"
class FlexibleWorkGang;
class WorkGang;
class StrongRootsScope;
class SubTasksDone;
@ -90,7 +90,7 @@ private:
// In block contents verification, the number of header words to skip
NOT_PRODUCT(static size_t _skip_header_HeapWords;)
FlexibleWorkGang* _workers;
WorkGang* _workers;
protected:
// Helper functions for allocation
@ -124,7 +124,7 @@ protected:
public:
GenCollectedHeap(GenCollectorPolicy *policy);
FlexibleWorkGang* workers() const { return _workers; }
WorkGang* workers() const { return _workers; }
GCStats* gc_stats(Generation* generation) const;