Reduce namespace pollution.
This leaves us with just the mspace stuff and three libdex functions to clean
up. We deliberately expose the JII API, and I don't think there's anything we
can really do about the art_..._from_code stuff (and at least that starts with
"art_").
Change-Id: I77e58e8330cd2afeb496642302dfe3311e68091a
diff --git a/src/logging.cc b/src/logging.cc
index 4f1ae55..a4fa45b 100644
--- a/src/logging.cc
+++ b/src/logging.cc
@@ -24,8 +24,8 @@
LogVerbosity gLogVerbosity;
-art::Mutex& GetLoggingLock() {
- static art::Mutex lock("LogMessage lock");
+Mutex& GetLoggingLock() {
+ static Mutex lock("LogMessage lock");
return lock;
}
@@ -38,7 +38,7 @@
// Do the actual logging with the lock held.
{
- art::MutexLock mu(GetLoggingLock());
+ MutexLock mu(GetLoggingLock());
if (msg.find('\n') == std::string::npos) {
LogLine(msg.c_str());
} else {
@@ -55,7 +55,7 @@
// Abort if necessary.
if (data_->severity == FATAL) {
- art::Runtime::Abort(data_->file, data_->line_number);
+ Runtime::Abort(data_->file, data_->line_number);
}
delete data_;