Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Issue 86013003: android: Add CHECK() calls to better understand memory corruption. (Closed)

Created:
7 years ago by digit1
Modified:
7 years ago
Reviewers:
bulach, joth, Torne
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

android: Add CHECK() calls to better understand memory corruption. This patch adds two CHECK() calls for each call to base::android::AttachCurrentThread() and base::android::DetachFromVM(), in order to better understand the mysterious crashers described in http://crbug.com/322200 BUG=322200 R=bulach@chromium.org,torne@chromium.org,joth@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237591

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add common for g_jvm_functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M base/android/jni_android.cc View 1 3 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
digit1
7 years ago (2013-11-25 16:49:42 UTC) #1
joth
lgtm https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc File base/android/jni_android.cc (right): https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc#newcode20 base/android/jni_android.cc:20: const JNIInvokeInterface* g_jvm_functions = NULL; Is the layout ...
7 years ago (2013-11-25 17:08:42 UTC) #2
digit1
https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc File base/android/jni_android.cc (right): https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc#newcode20 base/android/jni_android.cc:20: const JNIInvokeInterface* g_jvm_functions = NULL; Yes, since the structure ...
7 years ago (2013-11-25 17:34:02 UTC) #3
digit1
https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc File base/android/jni_android.cc (right): https://codereview.chromium.org/86013003/diff/1/base/android/jni_android.cc#newcode20 base/android/jni_android.cc:20: const JNIInvokeInterface* g_jvm_functions = NULL; On 2013/11/25 17:08:42, joth ...
7 years ago (2013-11-25 17:35:53 UTC) #4
joth
still lgtm thanks!
7 years ago (2013-11-25 17:41:55 UTC) #5
joth
still lgtm thanks!
7 years ago (2013-11-25 17:41:57 UTC) #6
bulach
lgtm, this may have some small perf implications, but worth investigating.. thanks!
7 years ago (2013-11-27 12:22:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/digit@chromium.org/86013003/2
7 years ago (2013-11-27 13:21:09 UTC) #8
commit-bot: I haz the power
7 years ago (2013-11-27 17:07:39 UTC) #9
Message was sent while issue was closed.
Change committed as 237591

Powered by Google App Engine
This is Rietveld 408576698