< prev index next >

src/share/vm/gc/parallel/psCompactionManager.hpp

Print this page
rev 10742 : Make fields used in lock-free algorithms volatile

*** 101,111 **** // The index into _recycled_stack_index of the last region stack index // pushed. If -1, there are no entries into _recycled_stack_index. static int _recycled_top; // The index into _recycled_stack_index of the last region stack index // popped. If -1, there has not been any entry popped. ! static int _recycled_bottom; static ParMarkBitMap* _mark_bitmap; Action _action; --- 101,111 ---- // The index into _recycled_stack_index of the last region stack index // pushed. If -1, there are no entries into _recycled_stack_index. static int _recycled_top; // The index into _recycled_stack_index of the last region stack index // popped. If -1, there has not been any entry popped. ! static volatile int _recycled_bottom; static ParMarkBitMap* _mark_bitmap; Action _action;
< prev index next >