src/hotspot/share/runtime/synchronizer.hpp
changeset 54291 e6c86f6012bf
parent 53588 a5f46c4690f8
child 57811 947252a54b98
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/runtime/synchronizer.hpp	Tue Mar 26 18:42:10 2019 +0100
+++ b/src/hotspot/share/runtime/synchronizer.hpp	Tue Mar 26 15:27:41 2019 -0400
@@ -199,11 +199,11 @@
   static u_char* get_gvars_stwRandom_addr();
 };
 
-// ObjectLocker enforced balanced locking and can never thrown an
+// ObjectLocker enforces balanced locking and can never throw an
 // IllegalMonitorStateException. However, a pending exception may
 // have to pass through, and we must also be able to deal with
 // asynchronous exceptions. The caller is responsible for checking
-// the threads pending exception if needed.
+// the thread's pending exception if needed.
 class ObjectLocker : public StackObj {
  private:
   Thread*   _thread;