6983930: CMS: Various small cleanups ca September 2010

Fixed comment/documentation typos; converted some guarantee()s to assert()s.

Reviewed-by: jmasa
This commit is contained in:
Y. Srinivas Ramakrishna 2010-09-10 17:07:55 -07:00
parent 690e6e149c
commit f53d569221
6 changed files with 12 additions and 17 deletions

View file

@ -256,7 +256,7 @@ TreeChunk* TreeList::head_as_TreeChunk() {
}
TreeChunk* TreeList::first_available() {
guarantee(head() != NULL, "The head of the list cannot be NULL");
assert(head() != NULL, "The head of the list cannot be NULL");
FreeChunk* fc = head()->next();
TreeChunk* retTC;
if (fc == NULL) {
@ -272,7 +272,7 @@ TreeChunk* TreeList::first_available() {
// those in the list for this size; potentially slow and expensive,
// use with caution!
TreeChunk* TreeList::largest_address() {
guarantee(head() != NULL, "The head of the list cannot be NULL");
assert(head() != NULL, "The head of the list cannot be NULL");
FreeChunk* fc = head()->next();
TreeChunk* retTC;
if (fc == NULL) {