8202781: Fix typo in DiscoveredListIterator::complete_enqeue
authortschatzl
Tue, 08 May 2018 16:49:20 +0200
changeset 50054 4fa726f796f5
parent 50053 9bc1e6487cbb
child 50055 0b63526d1550
child 50138 df06fe86f536
8202781: Fix typo in DiscoveredListIterator::complete_enqeue Reviewed-by: kbarrett
src/hotspot/share/gc/shared/referenceProcessor.cpp
src/hotspot/share/gc/shared/referenceProcessor.hpp
--- 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.
--- a/src/hotspot/share/gc/shared/referenceProcessor.hpp	Tue May 08 09:47:28 2018 -0400
+++ b/src/hotspot/share/gc/shared/referenceProcessor.hpp	Tue May 08 16:49:20 2018 +0200
@@ -147,7 +147,7 @@
   void enqueue();
 
   // Move enqueued references to the reference pending list.
-  void complete_enqeue();
+  void complete_enqueue();
 
   // NULL out referent pointer.
   void clear_referent();