Implement lock contention event logging.

Change-Id: I88b30985590157bb5d04229a97f191b898f141bb
diff --git a/src/thread.h b/src/thread.h
index a4e0576..ca8cb03 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -223,6 +223,12 @@
     return tid_;
   }
 
+  // Returns the java.lang.Thread's name, or NULL.
+  String* GetName() const;
+
+  // Returns the current method's declaring class' source file and the current line number.
+  void GetCurrentLocation(const char*& source_file, uint32_t& line_number) const;
+
   Object* GetPeer() const {
     return peer_;
   }