OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62526c3
)
Fix tracing.
author
Ian Rogers
<irogers@google.com>
Thu, 10 Jul 2014 06:16:06 +0000
(23:16 -0700)
committer
Ian Rogers
<irogers@google.com>
Thu, 10 Jul 2014 06:16:06 +0000
(23:16 -0700)
Change-Id: If6837270baec694c00cc1884bae0f1842d49da75
runtime/trace.cc
patch
|
blob
|
history
diff --git
a/runtime/trace.cc
b/runtime/trace.cc
index
a522e88
..
1a450c4
100644
(file)
--- a/
runtime/trace.cc
+++ b/
runtime/trace.cc
@@
-629,7
+629,7
@@
void Trace::LogMethodTraceEvent(Thread* thread, mirror::ArtMethod* method,
overflow_ = true;
return;
}
- } while (
cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset) != 0
);
+ } while (
!cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset)
);
TraceAction action = kTraceMethodEnter;
switch (event) {