< prev index next >
src/share/vm/gc/parallel/gcTaskThread.hpp
Print this page
rev 10742 : Make fields used in lock-free algorithms volatile
*** 39,49 ****
private:
// Instance state.
GCTaskManager* _manager; // Manager for worker.
const uint _processor_id; // Which processor the worker is on.
! GCTaskTimeStamp* _time_stamps;
uint _time_stamp_index;
GCTaskTimeStamp* time_stamp_at(uint index);
bool _is_working; // True if participating in GC tasks
--- 39,49 ----
private:
// Instance state.
GCTaskManager* _manager; // Manager for worker.
const uint _processor_id; // Which processor the worker is on.
! GCTaskTimeStamp* volatile _time_stamps;
uint _time_stamp_index;
GCTaskTimeStamp* time_stamp_at(uint index);
bool _is_working; // True if participating in GC tasks
< prev index next >