< prev index next >
src/share/vm/gc/cms/concurrentMarkSweepGeneration.hpp
Print this page
rev 10742 : Make fields used in lock-free algorithms volatile
@@ -723,11 +723,11 @@
private:
// Support for parallelizing young gen rescan in CMS remark phase
ParNewGeneration* _young_gen;
- HeapWord** _top_addr; // ... Top of Eden
+ HeapWord* volatile* _top_addr; // ... Top of Eden
HeapWord** _end_addr; // ... End of Eden
Mutex* _eden_chunk_lock;
HeapWord** _eden_chunk_array; // ... Eden partitioning array
size_t _eden_chunk_index; // ... top (exclusive) of array
size_t _eden_chunk_capacity; // ... max entries in array
< prev index next >