summaryrefslogtreecommitdiffstats
path: root/runtime/monitor.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-05-22 16:48:55 -0700
committerMathieu Chartier <mathieuc@google.com>2014-05-23 12:55:45 -0700
commit0cd81352a7c06e381951cea1b104fd73516f4341 (patch)
treefcc8ff9cdeb608d0913097aa1fb64d1879f11ffa /runtime/monitor.cc
parentdfd301f19800a4f168283cf2d0b15b2c09071955 (diff)
downloadart-0cd81352a7c06e381951cea1b104fd73516f4341.tar.gz
art-0cd81352a7c06e381951cea1b104fd73516f4341.tar.bz2
art-0cd81352a7c06e381951cea1b104fd73516f4341.zip
Revert "Revert "Fix an outstanding compaction bug in interpreter.""
Fixed the generic trampoline to not use ToJObject when unnecessary. Bug: 15167269 This reverts commit 3bdb873122964da7937eb070cbcf2ef638a8e459. Change-Id: I0525d0e0f3afb753c770e1572070a0fa22b02271
Diffstat (limited to 'runtime/monitor.cc')
-rw-r--r--runtime/monitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/monitor.cc b/runtime/monitor.cc
index c53520de12..4a4dffb938 100644
--- a/runtime/monitor.cc
+++ b/runtime/monitor.cc
@@ -637,7 +637,7 @@ void Monitor::Inflate(Thread* self, Thread* owner, mirror::Object* obj, int32_t
}
}
-void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object>& obj, LockWord lock_word,
+void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
uint32_t hash_code) {
DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked);
uint32_t owner_thread_id = lock_word.ThinLockOwner();