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

Issue 2864583004: Only turn on UMA WASM metric when synchronous. (Closed)

Created:
3 years, 7 months ago by kschimpf
Modified:
3 years, 7 months ago
CC:
v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Only turn on UMA WASM metric when synchronous. The code for UMA stats (in counters.h) is not thread safe, and can lead to using pointers with uninitialized values. Therefore, this CL turns them off when compiling asynchronously. It also turns back on several UMA stats that were previously turned off, but no longer need to because the code now knows if it is running synchronously. BUG=v8:6361 Review-Url: https://codereview.chromium.org/2864583004 Cr-Commit-Position: refs/heads/master@{#45168} Committed: https://chromium.googlesource.com/v8/v8/+/aad342d55b6732e367ce5730bf3e559ee9092945

Patch Set 1 #

Patch Set 2 : Merge updated master. #

Patch Set 3 : Again, merge updated master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -84 lines) Patch
M src/compiler/wasm-compiler.h View 3 chunks +6 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 3 chunks +24 lines, -11 lines 0 comments Download
M src/wasm/module-decoder.h View 1 2 chunks +6 lines, -10 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 3 chunks +75 lines, -26 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 20 chunks +75 lines, -35 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
bradnelson
lgtm
3 years, 7 months ago (2017-05-05 20:48:50 UTC) #5
kschimpf
3 years, 7 months ago (2017-05-05 20:55:17 UTC) #6
jochen (gone - plz use gerrit)
lgtm
3 years, 7 months ago (2017-05-08 06:11:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864583004/1
3 years, 7 months ago (2017-05-08 14:16:45 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/37112) v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 7 months ago (2017-05-08 14:18:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864583004/40001
3 years, 7 months ago (2017-05-08 17:16:23 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 18:11:00 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/aad342d55b6732e367ce5730bf3e559ee90...

Powered by Google App Engine
This is Rietveld 408576698