--- a/src/hotspot/share/gc/z/zMark.cpp Thu Jun 28 10:09:58 2018 +0000
+++ b/src/hotspot/share/gc/z/zMark.cpp Thu Jun 28 12:14:37 2018 +0200
@@ -398,7 +398,7 @@
}
bool ZMark::try_flush(volatile size_t* nflush) {
- // Only flush if handhakes are enabled
+ // Only flush if handshakes are enabled
if (!ThreadLocalHandshakes) {
return false;
}
@@ -681,5 +681,5 @@
Threads::threads_do(&cl);
// Verify stripe stacks
- guarantee(_stripes.is_empty(), "Should be emtpy");
+ guarantee(_stripes.is_empty(), "Should be empty");
}