From 5ddb4104ac605d66693b55b79f26f8b8a5505e63 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Tue, 7 Jan 2014 08:58:46 -0800 Subject: Remove intialized static storage from dex cache. The initialized static storage array is used by compiled code to determine if for a sget/sput class initialization is necessary. The compiled code typically doesn't require this test as the class is pre-initialized or the class being accessed is the same as the current method. Change-Id: Icbc45e692b3d0ac61e559e69edb6c9b29439e571 --- runtime/asm_support.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/asm_support.h') diff --git a/runtime/asm_support.h b/runtime/asm_support.h index e9bbf91..06c7b53 100644 --- a/runtime/asm_support.h +++ b/runtime/asm_support.h @@ -39,7 +39,7 @@ #define STRING_DATA_OFFSET 12 // Offsets within java.lang.Method. -#define METHOD_DEX_CACHE_METHODS_OFFSET 16 -#define METHOD_CODE_OFFSET 40 +#define METHOD_DEX_CACHE_METHODS_OFFSET 12 +#define METHOD_CODE_OFFSET 36 #endif // ART_RUNTIME_ASM_SUPPORT_H_ -- cgit v1.1