comparison src/share/vm/memory/binaryTreeDictionary.cpp @ 14358:e5d78f318aec

8026849: Fix typos in the GC code, part 2 Summary: Fixed typos in assert messages, flag descriptions and verbose messages Reviewed-by: stefank, tschatzl
author jwilhelm
date Tue, 10 Dec 2013 15:11:02 +0100
parents 63a4eb8bcd23
children aa8fab3bed11
comparison
equal deleted inserted replaced
14357:79aa45434291 14358:e5d78f318aec
1350 // . parent and child point to each other 1350 // . parent and child point to each other
1351 // . each node's key correctly related to that of its child(ren) 1351 // . each node's key correctly related to that of its child(ren)
1352 template <class Chunk_t, template <class> class FreeList_t> 1352 template <class Chunk_t, template <class> class FreeList_t>
1353 void BinaryTreeDictionary<Chunk_t, FreeList_t>::verify_tree() const { 1353 void BinaryTreeDictionary<Chunk_t, FreeList_t>::verify_tree() const {
1354 guarantee(root() == NULL || total_free_blocks() == 0 || 1354 guarantee(root() == NULL || total_free_blocks() == 0 ||
1355 total_size() != 0, "_total_size should't be 0?"); 1355 total_size() != 0, "_total_size shouldn't be 0?");
1356 guarantee(root() == NULL || root()->parent() == NULL, "_root shouldn't have parent"); 1356 guarantee(root() == NULL || root()->parent() == NULL, "_root shouldn't have parent");
1357 verify_tree_helper(root()); 1357 verify_tree_helper(root());
1358 } 1358 }
1359 1359
1360 template <class Chunk_t, template <class> class FreeList_t> 1360 template <class Chunk_t, template <class> class FreeList_t>