< prev index next >
src/share/vm/gc/shared/genCollectedHeap.cpp
Print this page
rev 10742 : Make fields used in lock-free algorithms volatile
*** 715,725 ****
bool GenCollectedHeap::supports_inline_contig_alloc() const {
return _young_gen->supports_inline_contig_alloc();
}
! HeapWord** GenCollectedHeap::top_addr() const {
return _young_gen->top_addr();
}
HeapWord** GenCollectedHeap::end_addr() const {
return _young_gen->end_addr();
--- 715,725 ----
bool GenCollectedHeap::supports_inline_contig_alloc() const {
return _young_gen->supports_inline_contig_alloc();
}
! HeapWord* volatile* GenCollectedHeap::top_addr() const {
return _young_gen->top_addr();
}
HeapWord** GenCollectedHeap::end_addr() const {
return _young_gen->end_addr();
< prev index next >