summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-10-28 10:57:25 -0700
committer Andreas Gampe <agampe@google.com> 2015-10-28 10:57:58 -0700
commit6aa137071c53b5f4a04284be9d8cc51362ad3716 (patch)
tree784e9cd0a2d8e6635c1c0190b0856e0a534570d3
parent28b48026f0686f93b31b9cad47671c18837acc56 (diff)
ART: Fix PACKED size of tls_ptr_size.
This should be PACKED to the current pointer size. Change-Id: I31e23cd7f1fe57655b71b901642617df96a48aa1
-rw-r--r--runtime/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.h b/runtime/thread.h
index 138c143d34..0d903db207 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -1222,7 +1222,7 @@ class Thread {
RuntimeStats stats;
} tls64_;
- struct PACKED(4) tls_ptr_sized_values {
+ struct PACKED(sizeof(void*)) tls_ptr_sized_values {
tls_ptr_sized_values() : card_table(nullptr), exception(nullptr), stack_end(nullptr),
managed_stack(), suspend_trigger(nullptr), jni_env(nullptr), tmp_jni_env(nullptr),
self(nullptr), opeer(nullptr), jpeer(nullptr), stack_begin(nullptr), stack_size(0),