OSDN Git Service

ART: Remove ObjPtr kPoison template parameter
authorAndreas Gampe <agampe@google.com>
Wed, 22 Feb 2017 18:11:30 +0000 (10:11 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 22 Feb 2017 18:11:30 +0000 (10:11 -0800)
commitc73cb64585f301c8bb3b03a0684f6baead99b7ac
treea11cf45d631116afbee446956defe80406cff082
parentfc5d8c28e5265634aeeb2f255dc8d5747e2919ee
ART: Remove ObjPtr kPoison template parameter

Move to a global constexpr, so that object pointer poisoning can
be explicitly turned off for lower debug build overhead.

Bug: 35644797
Test: m
Test: m test-art-host
Change-Id: I2412b67cbec144f2aee206fb48591abe581fd00a
runtime/gc_root-inl.h
runtime/gc_root.h
runtime/handle_scope-inl.h
runtime/handle_scope.h
runtime/mirror/object_test.cc
runtime/obj_ptr-inl.h
runtime/obj_ptr.h
runtime/scoped_thread_state_change-inl.h
runtime/scoped_thread_state_change.h
runtime/thread-inl.h