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

Issue 2647283004: Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… (Closed)

Created:
3 years, 11 months ago by bkonyi
Modified:
3 years, 10 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork while the MallocHooks lock is held by a thread that may no longer exist. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/f679b3c3e53bac92df6136eceb56a5febe576819

Patch Set 1 #

Total comments: 5

Patch Set 2 : Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -46 lines) Patch
M runtime/BUILD.gn View 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/bin/BUILD.gn View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/bin/bin.gypi View 2 chunks +0 lines, -6 lines 0 comments Download
M runtime/bin/gen_snapshot.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart.cc View 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/hash_map.h View 2 chunks +63 lines, -0 lines 0 comments Download
M runtime/vm/hash_map_test.cc View 2 chunks +61 lines, -0 lines 0 comments Download
M runtime/vm/malloc_hooks.h View 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/malloc_hooks.cc View 1 1 chunk +265 lines, -4 lines 0 comments Download
A runtime/vm/malloc_hooks_test.cc View 1 chunk +80 lines, -0 lines 0 comments Download
M runtime/vm/malloc_hooks_unsupported.cc View 1 chunk +26 lines, -4 lines 0 comments Download
M runtime/vm/vm.gypi View 4 chunks +0 lines, -28 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
bkonyi
https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc File runtime/vm/malloc_hooks.cc (right): https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc#newcode167 runtime/vm/malloc_hooks.cc:167: static const intptr_t INVALID_PID = -1; I have a ...
3 years, 11 months ago (2017-01-23 21:55:55 UTC) #2
zra
https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc File runtime/vm/malloc_hooks.cc (right): https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc#newcode118 runtime/vm/malloc_hooks.cc:118: ASSERT(original_pid_ != -1); Use kInvalidPid https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc#newcode167 runtime/vm/malloc_hooks.cc:167: static const ...
3 years, 11 months ago (2017-01-23 22:09:43 UTC) #3
bkonyi
https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc File runtime/vm/malloc_hooks.cc (right): https://codereview.chromium.org/2647283004/diff/1/runtime/vm/malloc_hooks.cc#newcode118 runtime/vm/malloc_hooks.cc:118: ASSERT(original_pid_ != -1); On 2017/01/23 22:09:43, zra wrote: > ...
3 years, 11 months ago (2017-01-23 22:12:48 UTC) #4
zra
lgtm, but let's wait to land until after the last full push for 1.22, which ...
3 years, 11 months ago (2017-01-23 22:15:25 UTC) #5
bkonyi
On 2017/01/23 22:15:25, zra wrote: > lgtm, but let's wait to land until after the ...
3 years, 11 months ago (2017-01-23 22:19:41 UTC) #6
zra
Oh, BTW, make sure to upload your new changes before sending out the "Done" messages. ...
3 years, 11 months ago (2017-01-23 23:16:14 UTC) #7
bkonyi
3 years, 10 months ago (2017-01-30 17:55:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f679b3c3e53bac92df6136eceb56a5febe576819 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698