Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/binaryTreeDictionary.cpp @ 7446:e51c9860cf66
8005082: NPG: Add specialized Metachunk sizes for reflection and anonymous classloaders
Reviewed-by: johnc, coleenp
author | jmasa |
---|---|
date | Mon, 03 Dec 2012 15:09:39 -0800 |
parents | 19c1bd641922 |
children | 3c327c2b6782 db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/memory/binaryTreeDictionary.cpp Fri Dec 21 10:27:49 2012 -0800 +++ b/src/share/vm/memory/binaryTreeDictionary.cpp Mon Dec 03 15:09:39 2012 -0800 @@ -67,7 +67,8 @@ } template <class Chunk_t, template <class> class FreeList_t> -TreeList<Chunk_t, FreeList_t>::TreeList() {} +TreeList<Chunk_t, FreeList_t>::TreeList() : _parent(NULL), + _left(NULL), _right(NULL) {} template <class Chunk_t, template <class> class FreeList_t> TreeList<Chunk_t, FreeList_t>* @@ -82,7 +83,7 @@ tl->link_head(tc); tl->link_tail(tc); tl->set_count(1); - + assert(tl->parent() == NULL, "Should be clear"); return tl; }