summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Theodore Dubois <tbodt@google.com> 2022-09-07 00:23:53 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-09-07 18:49:17 +0000
commitfc8108ff4cb4ceb42ddddb5423aecca3205f8bcc (patch)
tree2a3e6087dfbd64f3bf9feee3b0191bc40473ceea
parentf1cf1326df84b3ac161a9189fdb6e66ba4083344 (diff)
Add missing newline terminator on LogHeapCorruption
Change-Id: Ie62826406f6e72e1f5cf18d95b78051f70335e52
-rw-r--r--runtime/gc/verification.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/verification.cc b/runtime/gc/verification.cc
index 5790755bbe..195986f04d 100644
--- a/runtime/gc/verification.cc
+++ b/runtime/gc/verification.cc
@@ -86,7 +86,7 @@ void Verification::LogHeapCorruption(ObjPtr<mirror::Object> holder,
std::ostringstream oss;
oss << "GC tried to mark invalid reference " << ref << std::endl;
oss << DumpObjectInfo(ref, "ref") << "\n";
- oss << DumpObjectInfo(holder.Ptr(), "holder");
+ oss << DumpObjectInfo(holder.Ptr(), "holder") << "\n";
if (holder != nullptr) {
mirror::Class* holder_klass = holder->GetClass<kVerifyNone, kWithoutReadBarrier>();
if (IsValidClass(holder_klass)) {