From 9ed9e26d5c29e58729503f6fe27785509cacc66c Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Tue, 8 May 2018 16:49:20 +0200 Subject: [PATCH] 8202781: Fix typo in DiscoveredListIterator::complete_enqeue Reviewed-by: kbarrett --- src/hotspot/share/gc/shared/referenceProcessor.cpp | 4 ++-- src/hotspot/share/gc/shared/referenceProcessor.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hotspot/share/gc/shared/referenceProcessor.cpp b/src/hotspot/share/gc/shared/referenceProcessor.cpp index 9bb39047ca6..e84682afc49 100644 --- a/src/hotspot/share/gc/shared/referenceProcessor.cpp +++ b/src/hotspot/share/gc/shared/referenceProcessor.cpp @@ -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. diff --git a/src/hotspot/share/gc/shared/referenceProcessor.hpp b/src/hotspot/share/gc/shared/referenceProcessor.hpp index 86b52b42793..715ec32f5ed 100644 --- a/src/hotspot/share/gc/shared/referenceProcessor.hpp +++ b/src/hotspot/share/gc/shared/referenceProcessor.hpp @@ -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();