summaryrefslogtreecommitdiff
path: root/runtime/thread.h
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2017-01-11 19:18:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-01-11 19:18:51 +0000
commitdcf52765ab5886abdd85a4436fa0358b2a31341d (patch)
treeb68ee975792a5bf488ed93cfbe09a37f80008288 /runtime/thread.h
parenta28ddf5140cd1f4a2ae93dbf8be2f200b1552003 (diff)
parent0fb5af1c8287b1ec85c55c306a1c43820c38a337 (diff)
Merge "Revert "ART: Compiler support for invoke-polymorphic.""
Diffstat (limited to 'runtime/thread.h')
-rw-r--r--runtime/thread.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/thread.h b/runtime/thread.h
index d54a80df99..a3ef9bc0a3 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -1418,7 +1418,7 @@ class Thread {
stacked_shadow_frame_record(nullptr), deoptimization_context_stack(nullptr),
frame_id_to_shadow_frame(nullptr), name(nullptr), pthread_self(0),
last_no_thread_suspension_cause(nullptr), checkpoint_function(nullptr),
- thread_local_pos(nullptr), thread_local_end(nullptr), thread_local_start(nullptr),
+ thread_local_start(nullptr), thread_local_pos(nullptr), thread_local_end(nullptr),
thread_local_objects(0), mterp_current_ibase(nullptr), mterp_default_ibase(nullptr),
mterp_alt_ibase(nullptr), thread_local_alloc_stack_top(nullptr),
thread_local_alloc_stack_end(nullptr), nested_signal_state(nullptr),
@@ -1542,14 +1542,13 @@ class Thread {
JniEntryPoints jni_entrypoints;
QuickEntryPoints quick_entrypoints;
+ // Thread-local allocation pointer. Moved here to force alignment for thread_local_pos on ARM.
+ uint8_t* thread_local_start;
// thread_local_pos and thread_local_end must be consecutive for ldrd and are 8 byte aligned for
// potentially better performance.
uint8_t* thread_local_pos;
uint8_t* thread_local_end;
- // Thread-local allocation pointer.
- uint8_t* thread_local_start;
-
size_t thread_local_objects;
// Mterp jump table bases.