Skip to content

Commit

Permalink
Merge pull request #18 from KwaiAppTeam/dev
Browse files Browse the repository at this point in the history
Hprof strip bugfix
  • Loading branch information
AndroidInternal authored Aug 16, 2020
2 parents a202ca3 + d2cfcc7 commit 97ecf3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java-oom/src/main/cpp/hprof_dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,10 @@ ssize_t hook_write(int fd, const void *buf, size_t count) {
hookWriteSerialNum++;

if (total_write != count) {
__android_log_print(ANDROID_LOG_ERROR, "HprofDump", "total_write != count");
__android_log_print(ANDROID_LOG_INFO, "HprofDump", "hook write, hprof strip happens");
}

return total_write;
return count;
}

void (*suspendVM)();
Expand Down
Binary file modified java-oom/src/main/libs/arm64-v8a/libkoom-java.so
100644 → 100755
Binary file not shown.
Binary file modified java-oom/src/main/libs/armeabi-v7a/libkoom-java.so
100644 → 100755
Binary file not shown.

0 comments on commit 97ecf3e

Please sign in to comment.