mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8014971: Minor code cleanup of the freelist management
Reviewed-by: jwilhelm, jmasa, tschatzl
This commit is contained in:
parent
b33547e347
commit
0be2f273c7
6 changed files with 1 additions and 29 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue