< prev index next >

src/hotspot/share/gc/parallel/gcTaskThread.hpp

8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by:

*** 45,56 **** uint _time_stamp_index; GCTaskTimeStamp* time_stamp_at(uint index); void add_task_timestamp(const char* name, jlong t_entry, jlong t_exit); - bool _is_working; // True if participating in GC tasks - // Factory create and destroy methods. static GCTaskThread* create(GCTaskManager* manager, uint which, uint processor_id) { return new GCTaskThread(manager, which, processor_id); --- 45,54 ---- ***************
*** 83,93 **** return id(); } uint processor_id() const { return _processor_id; } - void set_is_working(bool v) { _is_working = v; } }; class GCTaskTimeStamp : public CHeapObj<mtGC> { private: --- 81,90 ----
< prev index next >