OSDN Git Service

Improve stack walk performance.
authorVladimir Marko <vmarko@google.com>
Wed, 14 May 2014 15:51:16 +0000 (16:51 +0100)
committerVladimir Marko <vmarko@google.com>
Tue, 20 May 2014 13:48:56 +0000 (14:48 +0100)
commit4c1c510bea6f20f4d8b09e15547cd2967ad51c88
treef3d15233294e46db0f43e83997e71a8bb990745e
parentfdfe733d8fad10fb8370f468fbd5905416f338fa
Improve stack walk performance.

Move a few functions from art_method.cc to art_method-inl.h
and introduce new overloads that take already known partial
results; do not rely on the compiler to magically merge the
identical but non-trivial paths. The partial results are
DCHECKed to be correct.

Change-Id: I342c3001bbff08a2bbbb9a7b62ae67188ad8cffc
runtime/entrypoints/quick/quick_field_entrypoints.cc
runtime/entrypoints/quick/quick_instrumentation_entrypoints.cc
runtime/mirror/art_method-inl.h
runtime/mirror/art_method.cc
runtime/mirror/art_method.h
runtime/stack.cc
runtime/thread.cc