src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp Tue May 21 15:13:49 2013
--- new/src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp Tue May 21 15:13:49 2013
*** 49,66 ****
--- 49,58 ----
AdaptiveFreeList<Chunk>::AdaptiveFreeList() : FreeList<Chunk>(), _hint(0) {
init_statistics();
}
template <class Chunk>
AdaptiveFreeList<Chunk>::AdaptiveFreeList(Chunk* fc) : FreeList<Chunk>(fc), _hint(0) {
init_statistics();
#ifndef PRODUCT
_allocation_stats.set_returned_bytes(size() * HeapWordSize);
#endif
}
template <class Chunk>
void AdaptiveFreeList<Chunk>::initialize() {
FreeList<Chunk>::initialize();
set_hint(0);
init_statistics(true /* split_birth */);
}
src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File