OSDN Git Service

Fix local reference leaks in debugger and use a cache.
authorMathieu Chartier <mathieuc@google.com>
Fri, 27 Jun 2014 17:20:14 +0000 (10:20 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 8 Jul 2014 16:42:03 +0000 (09:42 -0700)
commit4345c46b8a927cf13d9bbe38f8cf0593f5de181b
treef89b8edfa245d16c6ceffa512233140f53cfd0c2
parentf55159c145e8b07be1dcafc949afda7e6a2f41c5
Fix local reference leaks in debugger and use a cache.

Changed alloc record stack trace element to use jmethodID instead of
JNI weak global references. Added code to delete the local ref
created in AllocRecord::SetType.

Bug: 15886342
External bug: https://code.google.com/p/android/issues/detail?id=72330

Change-Id: Id18e765820baad02246768dc9d633aada60f4fed
runtime/debugger.cc
runtime/debugger.h