diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2014-02-27 14:44:36 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2014-03-05 19:20:14 -0800 |
commit | e63a745f26fec5a5b4162fc83f6e88a1f696c30c (patch) | |
tree | f26e1429c8226c5dde5ee4c361a57754ff46298c /runtime/globals.h | |
parent | e26baffe7f9e2a54f276f5c65e48454e413683ba (diff) | |
download | art-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.h | 3 |
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_ |