src/share/vm/memory/freeList.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-gc-g1-mmap Cdiff src/share/vm/memory/freeList.cpp

src/share/vm/memory/freeList.cpp

Print this page

        

*** 53,73 **** _size = 0; _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(); set_head(v); // If this method is not used (just set the head instead), // this check can be avoided. --- 53,62 ----
src/share/vm/memory/freeList.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File