summaryrefslogtreecommitdiff
path: root/runtime/utils.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-10-16 17:13:34 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2015-10-20 11:52:11 +0100
commit524e7ea8cd17bad17bd9f3e0ccbb19ad0d4d9c02 (patch)
treead07cc96f633bdae839ff2f1553d84b9c864a930 /runtime/utils.h
parentb697c447eb61c2e14315166ec3b0d16375ae403c (diff)
Remove ArtCode.
- Instead use OatQuickMethodHeader. - Various cleanups now that we don't have all those ArtMethod -> ArtCode -> OatQuickMethodHeader indirections. As a consequence of this cleanup, exception handling got a bit faster. ParserCombinators benchmark (exception intensive) on x64: (lower is better) Before: ParserCombinators(RunTime): 1062500.0 us. After: ParserCombinators(RunTime): 833000.0 us. Change-Id: Idac917b6f1b0dc254ad68fb3781cd61bccadb0f3
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index 457d43f312..79502c7971 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -222,7 +222,7 @@ void SetThreadName(const char* thread_name);
// Dumps the native stack for thread 'tid' to 'os'.
void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix = "",
- ArtMethod* current_method = nullptr, ArtCode* current_code = nullptr, void* ucontext = nullptr)
+ ArtMethod* current_method = nullptr, void* ucontext = nullptr)
NO_THREAD_SAFETY_ANALYSIS;
// Dumps the kernel stack for thread 'tid' to 'os'. Note that this is only available on linux-x86.