8014971: Minor code cleanup of the freelist management

Reviewed-by: jwilhelm, jmasa, tschatzl
This commit is contained in:
Bengt Rutisson 2013-05-22 08:04:58 +02:00
parent b33547e347
commit 0be2f273c7
6 changed files with 1 additions and 29 deletions

View file

@ -54,17 +54,6 @@ FreeList<Chunk>::FreeList() :
_count = 0;
}
template <class Chunk>
FreeList<Chunk>::FreeList(Chunk* fc) :
_head(fc), _tail(fc)
#ifdef ASSERT
, _protecting_lock(NULL)
#endif
{
_size = fc->size();
_count = 1;
}
template <class Chunk>
void FreeList<Chunk>::link_head(Chunk* v) {
assert_proper_lock_protection();