OSDN Git Service

Obtain stack trace outside of critical section
authorMathieu Chartier <mathieuc@google.com>
Tue, 29 Mar 2016 21:02:55 +0000 (14:02 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 31 Mar 2016 20:00:07 +0000 (13:00 -0700)
commit458b105a9cbab6156d72acf3b9372291dba9097a
treeaf01339c9c0e18a16455ebc64098bb683055c94b
parentfd9ac384741435902d4fc03034f4cbaafaa85780
Obtain stack trace outside of critical section

Fixes deadlock if the stack walk does allocations, changed stack
trace format to prevent slowdown.

Added missing GetInterfaceMethodIfProxy to fix a crash in maps.

Bug: 27857910

(cherry picked from commit 23428587d32361736d4c5e0ba7270c7602695a43)

Change-Id: I64373bcd87a68fdd1b58fb855db2b16c9f6ed36b
runtime/debugger.cc
runtime/gc/allocation_record.cc
runtime/gc/allocation_record.h
runtime/gc/heap-inl.h
runtime/gc/heap.h
runtime/hprof/hprof.cc