Mercurial > hg > truffle
diff src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp @ 10334:7c5a1b62f53d
8014971: Minor code cleanup of the freelist management
Reviewed-by: jwilhelm, jmasa, tschatzl
author | brutisso |
---|---|
date | Wed, 22 May 2013 08:04:58 +0200 |
parents | 685df3c6f84b |
children | de6a9e811145 bdd155477289 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp Tue May 21 11:30:14 2013 +0200 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp Wed May 22 08:04:58 2013 +0200 @@ -51,14 +51,6 @@ } 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);