8202781: Fix typo in DiscoveredListIterator::complete_enqeue

Reviewed-by: kbarrett
This commit is contained in:
Thomas Schatzl 2018-05-08 16:49:20 +02:00
parent f5a247a85f
commit 9ed9e26d5c
2 changed files with 3 additions and 3 deletions

View File

@ -311,7 +311,7 @@ void DiscoveredListIterator::enqueue() {
_next_discovered);
}
void DiscoveredListIterator::complete_enqeue() {
void DiscoveredListIterator::complete_enqueue() {
if (_prev_discovered != NULL) {
// This is the last object.
// Swap refs_list into pending list and set obj's
@ -474,7 +474,7 @@ void ReferenceProcessor::process_phase3(DiscoveredList& refs_list,
assert(oopDesc::is_oop(iter.obj(), UseConcMarkSweepGC), "Adding a bad reference");
iter.next();
}
iter.complete_enqeue();
iter.complete_enqueue();
// Close the reachable set
complete_gc->do_void();
// Clear the list.

View File

@ -147,7 +147,7 @@ public:
void enqueue();
// Move enqueued references to the reference pending list.
void complete_enqeue();
void complete_enqueue();
// NULL out referent pointer.
void clear_referent();