summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2015-05-11 17:53:27 +0200
committerSebastien Hertz <shertz@google.com>2015-05-11 19:03:56 +0200
commitdb30566022d477a7362d43247b98152a2cd2e191 (patch)
treee6adf875f2d980fdda51d724b68d2e68effcefb1
parentcdeb0b5fede4c06488f43a212591e661d946bc78 (diff)
downloadart-db30566022d477a7362d43247b98152a2cd2e191.zip
art-db30566022d477a7362d43247b98152a2cd2e191.tar.gz
art-db30566022d477a7362d43247b98152a2cd2e191.tar.bz2
Remove unused StackHandleScope
It is causing crashes when there is no current thread (because it has been detached from the runtime). It happens when we sanity check the stack during runtime shutdown after stopping method tracing. Bug: 20993343 Change-Id: I549664932f513a01339e5b1c34b3ddc5744888c3
-rw-r--r--runtime/mirror/art_method.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/mirror/art_method.cc b/runtime/mirror/art_method.cc
index 543cf9b..9518c9d 100644
--- a/runtime/mirror/art_method.cc
+++ b/runtime/mirror/art_method.cc
@@ -511,7 +511,6 @@ QuickMethodFrameInfo ArtMethod::GetQuickFrameInfo() {
if (class_linker->IsQuickGenericJniStub(entry_point)) {
// Generic JNI frame.
DCHECK(IsNative());
- StackHandleScope<1> hs(Thread::Current());
uint32_t handle_refs = GetNumberOfReferenceArgsWithoutReceiver(this) + 1;
size_t scope_size = HandleScope::SizeOf(handle_refs);
QuickMethodFrameInfo callee_info = runtime->GetCalleeSaveMethodFrameInfo(Runtime::kRefsAndArgs);