summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorMark Mendell <mark.p.mendell@intel.com>2013-12-11 12:27:35 -0800
committerMark Mendell <mark.p.mendell@intel.com>2013-12-11 12:40:13 -0800
commit45c1165558eb8f9c81843b63ed362079a60c8387 (patch)
tree2ad5839a44113fc41369658f422d4ae093463e3a /runtime/base
parente11eb154b52e2036d775c2df491a70bf7ef04de3 (diff)
downloadart-45c1165558eb8f9c81843b63ed362079a60c8387.zip
art-45c1165558eb8f9c81843b63ed362079a60c8387.tar.gz
art-45c1165558eb8f9c81843b63ed362079a60c8387.tar.bz2
Define missing static constexpr variables
This will prevent link errors when undefined symbols when compiling at -O0. Normally, this isn't a problem, but causes failure when compiling at -O0 to maximize debugability Change-Id: Iafe187b6b9344fead1bbc73004e376fad821756b Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/timing_logger.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/base/timing_logger.cc b/runtime/base/timing_logger.cc
index c8dee6d..076bc11 100644
--- a/runtime/base/timing_logger.cc
+++ b/runtime/base/timing_logger.cc
@@ -31,6 +31,8 @@
namespace art {
+constexpr size_t CumulativeLogger::kLowMemoryBucketCount;
+constexpr size_t CumulativeLogger::kDefaultBucketCount;
CumulativeLogger::CumulativeLogger(const std::string& name)
: name_(name),
lock_name_("CumulativeLoggerLock" + name),