8202781: Fix typo in DiscoveredListIterator::complete_enqeue
Reviewed-by: kbarrett
--- 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();