src/hotspot/share/gc/shared/referenceProcessor.cpp
changeset 50054 4fa726f796f5
parent 50049 9d17c375dc30
child 50095 bf2f27b92064
--- a/src/hotspot/share/gc/shared/referenceProcessor.cpp	Tue May 08 09:47:28 2018 -0400
+++ b/src/hotspot/share/gc/shared/referenceProcessor.cpp	Tue May 08 16:49:20 2018 +0200
@@ -311,7 +311,7 @@
                                             _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 @@
     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.