diff options
author | Dave Allison <dallison@google.com> | 2014-05-05 13:17:37 -0700 |
---|---|---|
committer | Dave Allison <dallison@google.com> | 2014-05-06 11:08:42 -0700 |
commit | 052664322767de1799f060c306e729b0e73ce893 (patch) | |
tree | 71b6229caea53935aada8fd96784992162e6d553 /runtime/parsed_options.cc | |
parent | 36b65964d128471d917c2efc69c81bc50ef9360b (diff) | |
download | art-052664322767de1799f060c306e729b0e73ce893.zip art-052664322767de1799f060c306e729b0e73ce893.tar.gz art-052664322767de1799f060c306e729b0e73ce893.tar.bz2 |
Switch on implicit null pointer and stack overflow checks.
This switches on the use of implicit checks for null pointers
and stack overflows. These use the SIGSEGV handler in the ART
runtime to detect these conditions and throw the appropriate
exceptions.
Change-Id: I4d27d4e976a58b18fb16a89572b1fb3798608449
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r-- | runtime/parsed_options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index 9cf8785..20f910d 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -253,7 +253,7 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni #ifdef HAVE_ANDROID_OS { char buf[PROP_VALUE_MAX]; - property_get("dalvik.vm.implicit_checks", buf, "none"); + property_get("dalvik.vm.implicit_checks", buf, "null,stack"); std::string checks(buf); std::vector<std::string> checkvec; Split(checks, ',', checkvec); |