8208669: GC changes to allow enabling -Wreorder

Reviewed-by: kbarrett
This commit is contained in:
Thomas Schatzl 2018-08-08 15:31:06 +02:00
parent a00eff193f
commit d702d5f8d2
80 changed files with 371 additions and 294 deletions

View file

@ -130,10 +130,11 @@ class AbstractWorkGang : public CHeapObj<mtInternal> {
public:
AbstractWorkGang(const char* name, uint workers, bool are_GC_task_threads, bool are_ConcurrentGC_threads) :
_name(name),
_workers(NULL),
_total_workers(workers),
_active_workers(UseDynamicNumberOfGCThreads ? 1U : workers),
_created_workers(0),
_name(name),
_are_GC_task_threads(are_GC_task_threads),
_are_ConcurrentGC_threads(are_ConcurrentGC_threads)
{ }