summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-06-15 18:20:45 -0700
committerAndreas Gampe <agampe@google.com>2017-06-21 12:52:47 -0700
commit1c5b42f00933b8f28b447f039fb93a7d9a9db06f (patch)
treeac46a2fb5bc0a246222a7b2d5e6c2602099b1897 /compiler/optimizing/graph_visualizer.cc
parentb96ed2c271a56fb8be0c8f30231710095e66a201 (diff)
ART: Add support for runtime debug checks
Add support for runtime-switchable debug flags. These flags are only enabled in debug mode, and a constexpr false in release mode. This allows to distinguish fast from slow checks, for example. To simplify usage, two macros should be used. DECLARE_RUNTIME_DEBUG_FLAG defines a static class member or constexpr as the flag. DEFINE_RUNTIME_DEBUG_FLAG defines the static storage and registers it, if needed. See the documentation in logging.h. As is, runtime checks are disabled by default. Pass -XX:SlowDebug=true to enable them on startup. Add logging_test. Fix up tests and scripts to enable slow debug checks. Bug: 35644369 Test: m test-art-host Change-Id: Icc1cb0bb921d863514c55abef794c5c96f8af801
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions