mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
This commit is contained in:
parent
4c7c3f0613
commit
81ba2e32c0
150 changed files with 524 additions and 545 deletions
|
@ -202,12 +202,12 @@ void GCTaskQueue::enqueue(GCTaskQueue* list) {
|
|||
list->print("list:");
|
||||
}
|
||||
if (list->is_empty()) {
|
||||
// Enqueuing the empty list: nothing to do.
|
||||
// Enqueueing the empty list: nothing to do.
|
||||
return;
|
||||
}
|
||||
uint list_length = list->length();
|
||||
if (is_empty()) {
|
||||
// Enqueuing to empty list: just acquire elements.
|
||||
// Enqueueing to empty list: just acquire elements.
|
||||
set_insert_end(list->insert_end());
|
||||
set_remove_end(list->remove_end());
|
||||
set_length(list_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue