Change lock ordering to prevent violation.
Violation previously occured in Thread_nativeHoldsLock.
Change-Id: I529552214eebfe7cf0779e62d8a601ca6751838b
diff --git a/runtime/locks.h b/runtime/locks.h
index 9164be6..d4fbd91 100644
--- a/runtime/locks.h
+++ b/runtime/locks.h
@@ -51,6 +51,7 @@
kJdwpObjectRegistryLock,
kClassLinkerClassesLock,
kBreakpointLock,
+ kMonitorLock,
kThreadListLock,
kBreakpointInvokeLock,
kDeoptimizationLock,
@@ -60,7 +61,6 @@
kJdwpAttachLock,
kJdwpStartLock,
kRuntimeShutdownLock,
- kMonitorLock,
kHeapBitmapLock,
kMutatorLock,
kZygoteCreationLock,