mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
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:
parent
690e6e149c
commit
f53d569221
6 changed files with 12 additions and 17 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue