summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-11-14 00:17:20 -0800
committerIan Rogers <irogers@google.com>2013-11-14 14:59:57 -0800
commit5fe9af720048673e62ee29597a30bb9e54c903c5 (patch)
tree733dca70511f4798a3082b084a9a3d6da9f5914a /compiler/oat_test.cc
parentdfe78a6e6b526d482298100a1f6392a8c7105522 (diff)
downloadart-5fe9af720048673e62ee29597a30bb9e54c903c5.zip
art-5fe9af720048673e62ee29597a30bb9e54c903c5.tar.gz
art-5fe9af720048673e62ee29597a30bb9e54c903c5.tar.bz2
Fix memory leaks relating to timing logger.
Bug: 11670287. We use pointers to uninitialized values for control-flow in the timing logger code, add TODO comments to clean this up later. Remove base namespace and other bits of tidying. Change-Id: I1e6600a1e92f974c8f58f3a405a4e4abb4d9f80f
Diffstat (limited to 'compiler/oat_test.cc')
-rw-r--r--compiler/oat_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc
index c423f34..714ec4e 100644
--- a/compiler/oat_test.cc
+++ b/compiler/oat_test.cc
@@ -82,7 +82,7 @@ TEST_F(OatTest, WriteRead) {
insn_features, false, NULL, 2, true));
jobject class_loader = NULL;
if (kCompile) {
- base::TimingLogger timings("OatTest::WriteRead", false, false);
+ TimingLogger timings("OatTest::WriteRead", false, false);
compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), timings);
}
@@ -101,7 +101,7 @@ TEST_F(OatTest, WriteRead) {
ASSERT_TRUE(success);
if (kCompile) { // OatWriter strips the code, regenerate to compare
- base::TimingLogger timings("CommonTest::WriteRead", false, false);
+ TimingLogger timings("CommonTest::WriteRead", false, false);
compiler_driver_->CompileAll(class_loader, class_linker->GetBootClassPath(), timings);
}
std::string error_msg;