summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-02-04 18:12:17 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2014-02-07 15:33:21 -0800
commita4adbfd44032d70e166e6f18096bbbed05a990ba (patch)
tree8fe1c7e9e0a12ca5d97de79f034978cadf25b391 /runtime/runtime.h
parent6957616884d7b290f2b8e98e2c4304695799134b (diff)
downloadart-a4adbfd44032d70e166e6f18096bbbed05a990ba.zip
art-a4adbfd44032d70e166e6f18096bbbed05a990ba.tar.gz
art-a4adbfd44032d70e166e6f18096bbbed05a990ba.tar.bz2
RosAlloc verification.
If enabled, RosAlloc verification checks the allocator internal metadata and invariants to detect bugs, heap corruptions, and race conditions. Added runtime options for enabling and disabling it. Enable it for the debug build. Bug: 9986565 Bug: 12592026 Change-Id: I923742b87805ae839f1549d78d0d492733da6a58
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 557ba2c..896a18b 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -109,6 +109,8 @@ class Runtime {
bool use_tlab_;
bool verify_pre_gc_heap_;
bool verify_post_gc_heap_;
+ bool verify_pre_gc_rosalloc_;
+ bool verify_post_gc_rosalloc_;
size_t long_pause_log_threshold_;
size_t long_gc_log_threshold_;
bool dump_gc_performance_on_shutdown_;