ClassLinker changes

- Add ClassLinker::LockOwner for SignalCatcher
- ClassLinker::ResolveMethod now sets CodeAndDirectMethod when code is available

Change-Id: I404b80d1994808e018d00e0b30e8ba4f9d08fecc
diff --git a/src/heap.h b/src/heap.h
index ea4901d..18b521d 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -100,7 +100,7 @@
   // Blocks the caller until the garbage collector becomes idle.
   static void WaitForConcurrentGcToComplete();
 
-  static uint32_t GetLockOwner(); // For SignalCatcher.
+  static pid_t GetLockOwner(); // For SignalCatcher.
   static void Lock();
   static void Unlock();