comparison src/share/vm/memory/metaspace.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
744 744
745 void VirtualSpaceNode::inc_container_count() { 745 void VirtualSpaceNode::inc_container_count() {
746 assert_lock_strong(SpaceManager::expand_lock()); 746 assert_lock_strong(SpaceManager::expand_lock());
747 _container_count++; 747 _container_count++;
748 assert(_container_count == container_count_slow(), 748 assert(_container_count == container_count_slow(),
749 err_msg("Inconsistency in countainer_count _container_count " SIZE_FORMAT 749 err_msg("Inconsistency in container_count _container_count " SIZE_FORMAT
750 " container_count_slow() " SIZE_FORMAT, 750 " container_count_slow() " SIZE_FORMAT,
751 _container_count, container_count_slow())); 751 _container_count, container_count_slow()));
752 } 752 }
753 753
754 void VirtualSpaceNode::dec_container_count() { 754 void VirtualSpaceNode::dec_container_count() {
757 } 757 }
758 758
759 #ifdef ASSERT 759 #ifdef ASSERT
760 void VirtualSpaceNode::verify_container_count() { 760 void VirtualSpaceNode::verify_container_count() {
761 assert(_container_count == container_count_slow(), 761 assert(_container_count == container_count_slow(),
762 err_msg("Inconsistency in countainer_count _container_count " SIZE_FORMAT 762 err_msg("Inconsistency in container_count _container_count " SIZE_FORMAT
763 " container_count_slow() " SIZE_FORMAT, _container_count, container_count_slow())); 763 " container_count_slow() " SIZE_FORMAT, _container_count, container_count_slow()));
764 } 764 }
765 #endif 765 #endif
766 766
767 // BlockFreelist methods 767 // BlockFreelist methods