From 6ed19fd1b08abbc438781ae3e6fea111c1f92315 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 20 Mar 2014 08:10:17 -0700 Subject: 64bit: make runtime offsets more deterministic. STL implementations vary causing offsets not to be consistent. Place member variables we care about the offsets of at the start of Runtime. Change-Id: I3ad7fe606cb99bcdd884a8fdbdd06bd7e047cd84 --- runtime/runtime.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime/runtime.cc') diff --git a/runtime/runtime.cc b/runtime/runtime.cc index eaa27de..21d79c3 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -80,7 +80,11 @@ namespace art { Runtime* Runtime::instance_ = NULL; Runtime::Runtime() - : compiler_callbacks_(nullptr), + : pre_allocated_OutOfMemoryError_(nullptr), + resolution_method_(nullptr), + imt_conflict_method_(nullptr), + default_imt_(nullptr), + compiler_callbacks_(nullptr), is_zygote_(false), is_concurrent_gc_enabled_(true), is_explicit_gc_disabled_(false), @@ -94,10 +98,6 @@ Runtime::Runtime() class_linker_(nullptr), signal_catcher_(nullptr), java_vm_(nullptr), - pre_allocated_OutOfMemoryError_(nullptr), - resolution_method_(nullptr), - imt_conflict_method_(nullptr), - default_imt_(nullptr), fault_message_lock_("Fault message lock"), fault_message_(""), method_verifier_lock_("Method verifiers lock"), -- cgit v1.1