changeset 50590:4fa726f796f5

8202781: Fix typo in DiscoveredListIterator::complete_enqeue Reviewed-by: kbarrett
author tschatzl
date Tue, 08 May 2018 16:49:20 +0200
parents 9bc1e6487cbb
children 0b63526d1550 df06fe86f536
files src/hotspot/share/gc/shared/referenceProcessor.cpp src/hotspot/share/gc/shared/referenceProcessor.hpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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();