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

Issue 2700033003: Disabled MallocHooks code in Release due to performance concerns. Added enable_malloc_hooks flag to… (Closed)

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

Description

Disabled MallocHooks code in Release due to performance concerns. Added enable_malloc_hooks flag to allow users to enable the hooks in Release mode if they so desire. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/bb72892e335f2ab69aeb0ef3dec5d7f150c80953

Patch Set 1 #

Total comments: 11

Patch Set 2 : Disabled MallocHooks code in Release due to performance concerns. Added enable_malloc_hooks flag to… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M runtime/vm/flag_list.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/malloc_hooks.cc View 1 5 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/malloc_hooks_test.cc View 1 3 chunks +10 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 8 (2 generated)
bkonyi
3 years, 10 months ago (2017-02-17 23:27:24 UTC) #2
rmacnak
https://codereview.chromium.org/2700033003/diff/1/runtime/vm/malloc_hooks_test.cc File runtime/vm/malloc_hooks_test.cc (right): https://codereview.chromium.org/2700033003/diff/1/runtime/vm/malloc_hooks_test.cc#newcode28 runtime/vm/malloc_hooks_test.cc:28: UNIT_TEST_CASE(BasicMallocHookTest) { If it's available in release mode, it ...
3 years, 10 months ago (2017-02-17 23:39:22 UTC) #3
zra
https://codereview.chromium.org/2700033003/diff/1/runtime/vm/flag_list.h File runtime/vm/flag_list.h (right): https://codereview.chromium.org/2700033003/diff/1/runtime/vm/flag_list.h#newcode78 runtime/vm/flag_list.h:78: "Enable native memory statistic collection. NOTE: This will likely ...
3 years, 10 months ago (2017-02-17 23:43:27 UTC) #4
bkonyi
I've gone ahead and re-enabled the malloc hook tests for release mode, as requested. https://codereview.chromium.org/2700033003/diff/1/runtime/vm/flag_list.h ...
3 years, 10 months ago (2017-02-18 00:01:11 UTC) #5
zra
lgtm https://codereview.chromium.org/2700033003/diff/1/runtime/vm/flag_list.h File runtime/vm/flag_list.h (right): https://codereview.chromium.org/2700033003/diff/1/runtime/vm/flag_list.h#newcode78 runtime/vm/flag_list.h:78: "Enable native memory statistic collection. NOTE: This will ...
3 years, 10 months ago (2017-02-18 00:03:33 UTC) #6
bkonyi
3 years, 10 months ago (2017-02-18 00:07:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
bb72892e335f2ab69aeb0ef3dec5d7f150c80953 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698