From b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Mon, 28 Apr 2014 16:47:08 -0700 Subject: Force inlining on trivial accessors. Make volatility for GetFieldObject a template parameter. Move some trivial mirror::String routines to a -inl.h. Bug: 14285442 Change-Id: Ie23b11d4f18cb15a62c3bbb42837a8aaf6b68f92 --- runtime/monitor.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'runtime/monitor.h') diff --git a/runtime/monitor.h b/runtime/monitor.h index 0b80892ba9..15620d5829 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -31,18 +31,16 @@ namespace art { +class LockWord; template class SirtRef; +class Thread; +class StackVisitor; +typedef uint32_t MonitorId; namespace mirror { class ArtMethod; class Object; } // namespace mirror -class LockWord; -template class SirtRef; -class Thread; -class StackVisitor; - -typedef uint32_t MonitorId; class Monitor { public: -- cgit v1.2.3