--- a/src/hotspot/share/gc/z/zCollectedHeap.cpp Thu Jun 28 10:09:58 2018 +0000
+++ b/src/hotspot/share/gc/z/zCollectedHeap.cpp Thu Jun 28 12:14:37 2018 +0200
@@ -173,7 +173,7 @@
void ZCollectedHeap::collect_as_vm_thread(GCCause::Cause cause) {
// These collection requests are ignored since ZGC can't run a synchronous
// GC cycle from within the VM thread. This is considered benign, since the
- // only GC causes comming in here should be heap dumper and heap inspector.
+ // only GC causes coming in here should be heap dumper and heap inspector.
// However, neither the heap dumper nor the heap inspector really need a GC
// to happen, but the result of their heap iterations might in that case be
// less accurate since they might include objects that would otherwise have