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

Issue 2619443002: Created placeholders for MallocHooks implementation and added define DART_USE_TCMALLOC to specifiy … (Closed)

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

Description

Created placeholders for MallocHooks implementation and added define DART_USE_TCMALLOC to specifiy when tcmalloc is available. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/9ff7ee61326b856c4552634cf6808112c9a1b820

Patch Set 1 #

Total comments: 17

Patch Set 2 : Removed extra dependencies and corrected some code style issues. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -23 lines) Patch
M runtime/bin/BUILD.gn View 3 chunks +5 lines, -23 lines 0 comments Download
M runtime/bin/bin.gypi View 2 chunks +6 lines, -0 lines 0 comments Download
A runtime/runtime_args.gni View 1 chunk +24 lines, -0 lines 0 comments Download
M runtime/vm/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A runtime/vm/malloc_hooks.h View 1 chunk +22 lines, -0 lines 0 comments Download
A runtime/vm/malloc_hooks.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
A runtime/vm/malloc_hooks_unsupported.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M runtime/vm/vm.gypi View 1 4 chunks +28 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
bkonyi
This is what I have so far for the MallocHooks stubs. Can you give it ...
3 years, 11 months ago (2017-01-05 23:29:05 UTC) #2
zra
https://codereview.chromium.org/2619443002/diff/1/runtime/vm/malloc_hooks.cc File runtime/vm/malloc_hooks.cc (right): https://codereview.chromium.org/2619443002/diff/1/runtime/vm/malloc_hooks.cc#newcode5 runtime/vm/malloc_hooks.cc:5: #ifdef DART_USE_TCMALLOC nit: We tend to use "#if defined(DART_USE_TCMALLOC)" ...
3 years, 11 months ago (2017-01-06 16:13:17 UTC) #3
bkonyi
3 years, 11 months ago (2017-01-06 17:58:53 UTC) #4
bkonyi
https://codereview.chromium.org/2619443002/diff/1/runtime/vm/malloc_hooks.cc File runtime/vm/malloc_hooks.cc (right): https://codereview.chromium.org/2619443002/diff/1/runtime/vm/malloc_hooks.cc#newcode5 runtime/vm/malloc_hooks.cc:5: #ifdef DART_USE_TCMALLOC On 2017/01/06 at 16:13:17, zra wrote: > ...
3 years, 11 months ago (2017-01-06 20:23:35 UTC) #5
zra
lgtm
3 years, 11 months ago (2017-01-06 20:33:17 UTC) #6
bkonyi
3 years, 11 months ago (2017-01-06 20:38:32 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9ff7ee61326b856c4552634cf6808112c9a1b820 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698