summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-02-27 14:44:36 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2014-03-05 19:20:14 -0800
commite63a745f26fec5a5b4162fc83f6e88a1f696c30c (patch)
treef26e1429c8226c5dde5ee4c361a57754ff46298c /runtime/globals.h
parente26baffe7f9e2a54f276f5c65e48454e413683ba (diff)
downloadart-e63a745f26fec5a5b4162fc83f6e88a1f696c30c.zip
art-e63a745f26fec5a5b4162fc83f6e88a1f696c30c.tar.gz
art-e63a745f26fec5a5b4162fc83f6e88a1f696c30c.tar.bz2
Make heap reference poisoning work with the interpreter.
It is disabled by default. Bug: 12687968 Change-Id: Iee0cad647f341a7b566f4cf74c2770d1c19312c9
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index 83e3028..5bc4b91 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -99,6 +99,9 @@ static constexpr bool kUseBrooksPointer = true;
static constexpr bool kUseBrooksPointer = false;
#endif
+// If true, references within the heap are poisoned (negated).
+static constexpr bool kPoisonHeapReferences = false;
+
} // namespace art
#endif // ART_RUNTIME_GLOBALS_H_