hotspot/src/share/vm/memory/binaryTreeDictionary.cpp
changeset 15086 2bfd799e9147
parent 14581 8427edf5a77b
child 15482 470d0b0c09f1
child 15428 edc310e78c68
--- a/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp	Fri Dec 21 10:27:49 2012 -0800
+++ b/hotspot/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;
 }