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

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed)

Created:
5 years, 9 months ago by Simon Que
Modified:
5 years, 1 month ago
CC:
bccheng, bjanakiraman1, chromium-reviews, darin-cc_chromium.org, dhsharp, Dai Mikurube (NOT FULLTIME), erikwright+watch_chromium.org, gpike, jam, jar (doing other things), kouhei (in TOK), rapati, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

components/metrics: Add runtime memory leak detector This patch adds heuristic-based memory leak detector. Unlike traditional leak detectors like valgrind, it doesn't wait until a process terminates to check for leftover allocations. Instead, it analyzes allocation patterns over time. This code is not thread-safe. It is up to the caller of this code to ensure thread safety. BUG=382705 Signed-off-by: Simon Que <sque@chromium.org>; Committed: https://crrev.com/d02b109cb1f41b7ea0584d0910c8bb4cf21cb521 Cr-Commit-Position: refs/heads/master@{#361012}

Patch Set 1 : Fix error in leak analyzer logic #

Total comments: 2

Patch Set 2 : Add farmhash source; fix free -> dealloc_; add header for call_stack_table.cc #

Patch Set 3 : Use single allocator class, enabling the use of more STL containers #

Patch Set 4 : Remove dummy function; Exclude sources if leak_detector!=1; Add headers to sources! #

Total comments: 5

Patch Set 5 : Remove from gn build; keep it simple; can add it in later #

Total comments: 3

Patch Set 6 : Remove templating from RankedList and LeakAnalyzer; replace with class containing both size and cal… #

Patch Set 7 : Remove Author label from new files; Check type in LeakDetectorValueType comparators; Add missing fi… #

Total comments: 6

Patch Set 8 : Fix line lengths in farmhash.cc; Replace basictypes.h with stdint.h #

Patch Set 9 : Fix includes; add new line at end of file #

Patch Set 10 : Move to components/metrics #

Patch Set 11 : Add LeakDetector class; Remove tcmalloc dependencies; Add export classes to gperftools; Remove farm… #

Total comments: 12

Patch Set 12 : Addressed comments in leak_analyzer #

Patch Set 13 : LeakDetectorImpl: Move private static members to anon namespace; Use vector instead of array; Remov… #

Patch Set 14 : LeakDetectorImpl: Rename |entries_| to |size_entries_|; Remove local allocator functions #

Patch Set 15 : Fix portability issues for sizes and addresses #

Total comments: 35

Patch Set 16 : Addressed jar's comments on Patch Set 57 #

Patch Set 17 : Explicit RankedList ctor. Simplify LeakAnalyzer value/type printing. Add leak_detector_value_type.cc #

Patch Set 18 : Explain return value of LeakAnalyzer::Dump #

Patch Set 19 : Make log printing more efficient; skip empty containers #

Total comments: 2

Patch Set 20 : Fix style, comments, RAW_CHECK in stl_allocator.h #

Total comments: 75

Patch Set 21 : Use uintptr_t/size_t for mapping info; Fix formatting of RecordAlloc #

Total comments: 8

Patch Set 22 : Minor edits #

Patch Set 23 : Implement RankedList as a STL list; Update STL size check; Fix analyzer scoring #

Patch Set 24 : Fix gperftools include paths; Remove stdint.h; Fix include guard #

Patch Set 25 : Add RankedList/LeakAnalyzer unit tests; Update CustomAllocator for testing; Fix LeakAnalyzer logic #

Patch Set 26 : Fix print bugs in LeakAnalyzer; Check LeakAnalyzer reporting order; Initialize LeakDetectorValueType #

Patch Set 27 : Add CallStackTable unit test; Simplify CallStackTable; Move hash func to CallStack #

Patch Set 28 : LeakDetectorImpl stores addrs as uintptr_t; Implement move semantics for RankedList #

Total comments: 3

Patch Set 29 : Add LeakDetectorImpl unit test; LeakReport struct; Minor fixes #

Patch Set 30 : Simplify STL_Allocator; include base/macros.h; Free call stacks; Fixed RankedList::Add comment #

Patch Set 31 : Create CallStackManager out of LeakDetectorImpl #

Total comments: 28

Patch Set 32 : Addressed Bhaskar's comments on unit tests #

Patch Set 33 : Amended CallStackMgrTest for jar's comments; Reuse stored hash in CallStackMgr #

Patch Set 34 : Static label and anon namespace for Custom Allocator; NULL -> nullptr #

Patch Set 35 : Static label and anon namespace for Custom Allocator; NULL -> nullptr (re-upload) #

Patch Set 36 : Fix indentation; Remove dl_phdr_info logging; initialize globals #

Patch Set 37 : Replace tcmalloc's wrappers with pthread_spinlock and standard allocator (no more tcmalloc changes) #

Total comments: 2

Patch Set 38 : Fix artifact of confused rebase #

Patch Set 39 : initialize alloc stat counter members in LeakDetectorImpl #

Patch Set 40 : use namespace metrics::leak_detector; remove GYP flag (not needed for this CL) #

Patch Set 41 : Rename STL_Allocator to STLAllocator ; Remove leak_detector.* (not used, will be added back in late… #

Total comments: 14

Patch Set 42 : wfh's feedback: move type, size type, hash_map, proc ID, remove logging #

Patch Set 43 : Add OWNERS file #

Total comments: 14

Patch Set 44 : Addressed Alexei's comments #

Total comments: 38

Patch Set 45 : Ran 'git cl format' #

Patch Set 46 : Add wfh as OWNER #

Patch Set 47 : Responded to jar's comments from 2015-11-14 #

Patch Set 48 : Add comments about lack of thread safety #

Total comments: 4

Patch Set 49 : GN build support; fix clang compile errors #

Patch Set 50 : Add GN build dependency on chromeos #

Patch Set 51 : Remove explicit zero initialization of struct-vector (done implicitly) #

Patch Set 52 : Mac build fixes: const arg in comparator, rm const in func return type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3055 lines, -0 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +9 lines, -0 lines 0 comments Download
M components/metrics.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +23 lines, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 3 chunks +44 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +2 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 1 chunk +100 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +67 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +260 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_table.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 1 chunk +81 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +78 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/call_stack_table_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +306 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/custom_allocator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 1 chunk +50 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/custom_allocator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +61 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_analyzer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +81 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_analyzer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +139 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_analyzer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +362 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_detector_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +161 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_detector_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +215 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_detector_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +464 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_detector_value_type.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +52 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/leak_detector_value_type.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +47 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/ranked_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +81 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/ranked_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +45 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/ranked_list_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +266 lines, -0 lines 0 comments Download
A components/metrics/leak_detector/stl_allocator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 238 (95 generated)
Simon Que
This is not ready for official review. I've uploaded this CL so people can look ...
5 years, 9 months ago (2015-03-05 23:11:41 UTC) #1
haraken
5 years, 9 months ago (2015-03-23 03:39:47 UTC) #4
haraken
Do you have a design document that describes what the leak detector is doing at ...
5 years, 9 months ago (2015-03-23 04:34:39 UTC) #5
Simon Que
On 2015/03/23 04:34:39, haraken wrote: > Do you have a design document that describes what ...
5 years, 9 months ago (2015-03-23 19:18:54 UTC) #6
haraken
On 2015/03/23 19:18:54, Simon Que wrote: > On 2015/03/23 04:34:39, haraken wrote: > > Do ...
5 years, 9 months ago (2015-03-23 23:24:20 UTC) #7
Simon Que
On 2015/03/23 23:24:20, haraken wrote: > On 2015/03/23 19:18:54, Simon Que wrote: > > On ...
5 years, 9 months ago (2015-03-24 01:21:09 UTC) #8
haraken
On 2015/03/24 01:21:09, Simon Que wrote: > On 2015/03/23 23:24:20, haraken wrote: > > On ...
5 years, 9 months ago (2015-03-24 01:24:07 UTC) #9
Simon Que
On 2015/03/24 01:24:07, haraken wrote: > On 2015/03/24 01:21:09, Simon Que wrote: > > On ...
5 years, 9 months ago (2015-03-24 01:40:48 UTC) #10
Simon Que
I moved most of the code into base/allocator. Still getting a few presubmit check errors: ...
5 years, 8 months ago (2015-04-04 03:32:20 UTC) #11
haraken
A couple of my thoughts: - As I commented in the document, I'm still a ...
5 years, 7 months ago (2015-04-30 02:05:53 UTC) #12
Benoit L
Random drive-by comment (may very well be completely wrong) ! https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc File third_party/tcmalloc/chromium/src/leak_detector_impl.cc (right): https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc#newcode143 ...
5 years, 7 months ago (2015-05-04 12:03:29 UTC) #14
Benoit L
https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc File third_party/tcmalloc/chromium/src/leak_detector_impl.cc (right): https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc#newcode143 third_party/tcmalloc/chromium/src/leak_detector_impl.cc:143: address_map_.Insert(ptr, alloc_info); On 2015/05/04 12:03:29, lizeb wrote: > If ...
5 years, 7 months ago (2015-05-04 12:12:03 UTC) #15
Simon Que
On 2015/05/04 12:12:03, lizeb wrote: > https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc > File third_party/tcmalloc/chromium/src/leak_detector_impl.cc (right): > > https://codereview.chromium.org/986503002/diff/540001/third_party/tcmalloc/chromium/src/leak_detector_impl.cc#newcode143 > ...
5 years, 7 months ago (2015-05-04 20:52:57 UTC) #16
Simon Que
On 2015/05/04 20:52:57, Simon Que wrote: > On 2015/05/04 12:12:03, lizeb wrote: > > > ...
5 years, 7 months ago (2015-05-05 01:04:44 UTC) #17
Simon Que
On 2015/04/30 02:05:53, haraken wrote: > A couple of my thoughts: > > - As ...
5 years, 7 months ago (2015-05-07 00:51:46 UTC) #18
haraken
On 2015/05/07 00:51:46, Simon Que wrote: > On 2015/04/30 02:05:53, haraken wrote: > > A ...
5 years, 7 months ago (2015-05-07 01:11:06 UTC) #19
Simon Que
On 2015/05/07 01:11:06, haraken wrote: > On 2015/05/07 00:51:46, Simon Que wrote: > > On ...
5 years, 7 months ago (2015-05-07 20:33:42 UTC) #20
bjanakiraman1
On Thu, May 7, 2015 at 1:33 PM, <sque@chromium.org> wrote: > > We can work ...
5 years, 7 months ago (2015-05-12 21:22:17 UTC) #21
haraken
On 2015/05/12 21:22:17, bjanakiraman1 wrote: > On Thu, May 7, 2015 at 1:33 PM, <mailto:sque@chromium.org> ...
5 years, 7 months ago (2015-05-12 21:44:27 UTC) #22
haraken
On 2015/05/12 21:44:27, haraken wrote: > On 2015/05/12 21:22:17, bjanakiraman1 wrote: > > On Thu, ...
5 years, 7 months ago (2015-05-12 21:56:47 UTC) #23
bjanakiraman1
On Tue, May 12, 2015 at 2:44 PM, <haraken@chromium.org> wrote: > On 2015/05/12 21:22:17, bjanakiraman1 ...
5 years, 7 months ago (2015-05-12 22:08:45 UTC) #24
haraken
On 2015/05/12 22:08:45, bjanakiraman1 wrote: > On Tue, May 12, 2015 at 2:44 PM, <mailto:haraken@chromium.org> ...
5 years, 7 months ago (2015-05-12 23:37:06 UTC) #25
Simon Que
On 2015/05/12 23:37:06, haraken wrote: > On 2015/05/12 22:08:45, bjanakiraman1 wrote: > > Yes. Simon ...
5 years, 7 months ago (2015-05-13 00:28:22 UTC) #26
haraken
On 2015/05/13 00:28:22, Simon Que wrote: > On 2015/05/12 23:37:06, haraken wrote: > > On ...
5 years, 7 months ago (2015-05-13 09:36:59 UTC) #27
bccheng
Thanks for the time and effort of collecting the data and reviewing the code. Using ...
5 years, 7 months ago (2015-05-13 13:53:17 UTC) #29
bjanakiraman1
So, I'm looking at the overhead, and yeah, its really high, its not clear we'll ...
5 years, 7 months ago (2015-05-13 16:30:41 UTC) #30
Simon Que
I got some new numbers, this time running with a sampling rate of 1/256 and ...
5 years, 7 months ago (2015-05-13 17:37:59 UTC) #31
haraken
> So, I'm looking at the overhead, and yeah, its really high, its not clear ...
5 years, 7 months ago (2015-05-14 00:33:37 UTC) #32
gpike
A quick note; I'll have more comments later today. https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/crc32.h File third_party/tcmalloc/chromium/src/crc32.h (right): https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/crc32.h#newcode14 third_party/tcmalloc/chromium/src/crc32.h:14: ...
5 years, 6 months ago (2015-06-11 21:01:11 UTC) #34
gpike
One style question: For pointers are you going to stick to "if (x)" or "if ...
5 years, 6 months ago (2015-06-11 22:04:15 UTC) #35
Simon Que
https://codereview.chromium.org/986503002/diff/600001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/986503002/diff/600001/content/browser/browser_main_loop.cc#newcode591 content/browser/browser_main_loop.cc:591: #if defined (ENABLE_LEAK_DETECTOR) On 2015/06/11 22:04:16, gpike wrote: > ...
5 years, 6 months ago (2015-06-12 22:18:55 UTC) #36
Simon Que
https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/crc32.h File third_party/tcmalloc/chromium/src/crc32.h (right): https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/crc32.h#newcode14 third_party/tcmalloc/chromium/src/crc32.h:14: // Returns a CRC-32 hash of |len| bytes of ...
5 years, 6 months ago (2015-06-12 23:14:08 UTC) #37
gpike
https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h File third_party/tcmalloc/chromium/src/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h#newcode22 third_party/tcmalloc/chromium/src/call_stack_table.h:22: // types because they will call new/delete. Instead, this ...
5 years, 6 months ago (2015-06-16 20:35:57 UTC) #38
Simon Que
https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h File third_party/tcmalloc/chromium/src/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h#newcode22 third_party/tcmalloc/chromium/src/call_stack_table.h:22: // types because they will call new/delete. Instead, this ...
5 years, 6 months ago (2015-06-16 20:55:16 UTC) #39
Simon Que
https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/leak_detector.cc File third_party/tcmalloc/chromium/src/leak_detector.cc (right): https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/leak_detector.cc#newcode86 third_party/tcmalloc/chromium/src/leak_detector.cc:86: // Keep track of the total number of bytes ...
5 years, 6 months ago (2015-06-16 21:09:21 UTC) #40
Simon Que
https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/leak_detector.cc File third_party/tcmalloc/chromium/src/leak_detector.cc (right): https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/leak_detector.cc#newcode86 third_party/tcmalloc/chromium/src/leak_detector.cc:86: // Keep track of the total number of bytes ...
5 years, 6 months ago (2015-06-16 21:09:22 UTC) #41
Simon Que
On 2015/06/16 20:55:16, Simon Que wrote: > https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h > File third_party/tcmalloc/chromium/src/call_stack_table.h (right): > > https://codereview.chromium.org/986503002/diff/640001/third_party/tcmalloc/chromium/src/call_stack_table.h#newcode22 ...
5 years, 6 months ago (2015-06-16 21:45:03 UTC) #42
gpike
On 2015/06/16 21:45:03, Simon Que wrote: > On 2015/06/16 20:55:16, Simon Que wrote: > > ...
5 years, 6 months ago (2015-06-16 21:56:20 UTC) #43
Simon Que
On 2015/06/16 21:56:20, gpike wrote: > On 2015/06/16 21:45:03, Simon Que wrote: > > On ...
5 years, 6 months ago (2015-06-17 22:59:19 UTC) #44
Simon Que
On 2015/06/17 22:59:19, Simon Que wrote: > On 2015/06/16 21:56:20, gpike wrote: > > On ...
5 years, 6 months ago (2015-06-18 00:54:56 UTC) #45
Simon Que
https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/leak_analyzer.h File third_party/tcmalloc/chromium/src/leak_analyzer.h (right): https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/leak_analyzer.h#newcode227 third_party/tcmalloc/chromium/src/leak_analyzer.h:227: if (suspected->valid && suspected->value == entries[i].value) { On 2015/06/12 ...
5 years, 6 months ago (2015-06-18 22:53:46 UTC) #46
gpike
Do you need to add farmhash.* as well? https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/leak_analyzer.h File third_party/tcmalloc/chromium/src/leak_analyzer.h (right): https://codereview.chromium.org/986503002/diff/600001/third_party/tcmalloc/chromium/src/leak_analyzer.h#newcode227 third_party/tcmalloc/chromium/src/leak_analyzer.h:227: if ...
5 years, 5 months ago (2015-07-01 21:38:21 UTC) #47
Simon Que
Added farmhash code. https://codereview.chromium.org/986503002/diff/720001/third_party/tcmalloc/chromium/src/call_stack_table.cc File third_party/tcmalloc/chromium/src/call_stack_table.cc (right): https://codereview.chromium.org/986503002/diff/720001/third_party/tcmalloc/chromium/src/call_stack_table.cc#newcode135 third_party/tcmalloc/chromium/src/call_stack_table.cc:135: if (free) On 2015/07/01 21:38:21, gpike ...
5 years, 5 months ago (2015-07-10 00:09:06 UTC) #48
Simon Que
On 2015/07/01 21:38:21, gpike wrote: > How about: > if (suspected->valid && suspected->value == entries[i].value) ...
5 years, 5 months ago (2015-07-10 22:50:08 UTC) #49
Simon Que
FTR, here's some more performance numbers, this time from data collected from the field through ...
5 years, 5 months ago (2015-07-10 22:53:26 UTC) #50
gpike
lgtm I still would like to see more comments in leak_detector.cc explaining things like what ...
5 years, 5 months ago (2015-07-14 19:16:08 UTC) #53
gpike
lgtm I still would like to see more comments in leak_detector.cc explaining things like what ...
5 years, 5 months ago (2015-07-14 19:16:13 UTC) #54
Simon Que
https://codereview.chromium.org/986503002/diff/860001/third_party/tcmalloc/chromium/src/leak_detector.cc File third_party/tcmalloc/chromium/src/leak_detector.cc (right): https://codereview.chromium.org/986503002/diff/860001/third_party/tcmalloc/chromium/src/leak_detector.cc#newcode85 third_party/tcmalloc/chromium/src/leak_detector.cc:85: uint64 last_free_dump_size = 0; On 2015/07/14 19:16:08, gpike wrote: ...
5 years, 5 months ago (2015-07-14 23:31:20 UTC) #55
Simon Que
PTAL https://codereview.chromium.org/986503002/diff/880001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/986503002/diff/880001/content/browser/browser_main_loop.cc#newcode643 content/browser/browser_main_loop.cc:643: LeakDetectorDummy(); I still find this to be really ...
5 years, 5 months ago (2015-07-14 23:37:36 UTC) #56
Simon Que
https://codereview.chromium.org/986503002/diff/880001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/986503002/diff/880001/content/browser/browser_main_loop.cc#newcode643 content/browser/browser_main_loop.cc:643: LeakDetectorDummy(); On 2015/07/14 23:37:36, Simon Que wrote: > I ...
5 years, 5 months ago (2015-07-14 23:44:36 UTC) #57
Nico
build/ lgtm https://codereview.chromium.org/986503002/diff/920001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/986503002/diff/920001/build/common.gypi#newcode3827 build/common.gypi:3827: '-g', Including full debug symbols in all ...
5 years, 5 months ago (2015-07-16 19:31:24 UTC) #60
Will Harris
On 2015/03/23 19:18:54, Simon Que wrote: > On 2015/03/23 04:34:39, haraken wrote: > > Do ...
5 years, 5 months ago (2015-07-16 19:39:38 UTC) #61
Nico
https://codereview.chromium.org/986503002/diff/920001/third_party/tcmalloc/chromium/src/base/commandlineflags.h File third_party/tcmalloc/chromium/src/base/commandlineflags.h (right): https://codereview.chromium.org/986503002/diff/920001/third_party/tcmalloc/chromium/src/base/commandlineflags.h#newcode121 third_party/tcmalloc/chromium/src/base/commandlineflags.h:121: #if defined(ENABLE_PROFILING) || defined(ENABLE_LEAK_DETECTOR) This too means you can ...
5 years, 5 months ago (2015-07-16 19:49:09 UTC) #62
Simon Que
On 2015/07/16 19:39:38, Will Harris wrote: > On 2015/03/23 19:18:54, Simon Que wrote: > > ...
5 years, 5 months ago (2015-07-16 19:52:19 UTC) #63
jar (doing other things)
Is this based on an upstream change?... or is this a novel addition to our ...
5 years, 5 months ago (2015-07-16 20:59:49 UTC) #65
Simon Que
On 2015/07/16 20:59:49, jar (doing other things) wrote: > Is this based on an upstream ...
5 years, 5 months ago (2015-07-16 21:13:57 UTC) #66
Simon Que
On 2015/07/16 20:59:49, jar (doing other things) wrote: > Is this based on an upstream ...
5 years, 5 months ago (2015-07-16 21:14:03 UTC) #67
Simon Que
https://codereview.chromium.org/986503002/diff/920001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/986503002/diff/920001/build/common.gypi#newcode3827 build/common.gypi:3827: '-g', On 2015/07/16 19:31:24, Nico wrote: > Including full ...
5 years, 5 months ago (2015-07-16 21:15:09 UTC) #68
Nico
https://codereview.chromium.org/986503002/diff/920001/third_party/tcmalloc/chromium/src/base/commandlineflags.h File third_party/tcmalloc/chromium/src/base/commandlineflags.h (right): https://codereview.chromium.org/986503002/diff/920001/third_party/tcmalloc/chromium/src/base/commandlineflags.h#newcode121 third_party/tcmalloc/chromium/src/base/commandlineflags.h:121: #if defined(ENABLE_PROFILING) || defined(ENABLE_LEAK_DETECTOR) On 2015/07/16 21:15:08, Simon Que ...
5 years, 5 months ago (2015-07-16 21:25:17 UTC) #69
Simon Que
wfh and jar: I'd like to get this CL in soon, as it is four ...
5 years, 5 months ago (2015-07-20 19:49:23 UTC) #70
jar (doing other things)
That fact that this code is off by default, and will only be turned on ...
5 years, 5 months ago (2015-07-20 22:19:03 UTC) #71
Simon Que
On 2015/07/20 22:19:03, jar (doing other things) wrote: > That fact that this code is ...
5 years, 5 months ago (2015-07-20 22:41:35 UTC) #72
Simon Que
On 2015/07/20 22:41:35, Simon Que wrote: > On 2015/07/20 22:19:03, jar (doing other things) wrote: ...
5 years, 5 months ago (2015-07-23 01:02:43 UTC) #73
jar (doing other things)
https://codereview.chromium.org/986503002/diff/1020001/third_party/tcmalloc/chromium/src/farmhash.cc File third_party/tcmalloc/chromium/src/farmhash.cc (right): https://codereview.chromium.org/986503002/diff/1020001/third_party/tcmalloc/chromium/src/farmhash.cc#newcode76 third_party/tcmalloc/chromium/src/farmhash.cc:76: #if defined(FARMHASH_NO_BUILTIN_EXPECT) || (defined(FARMHASH_OPTIONAL_BUILTIN_EXPECT) && !defined(HAVE_BUILTIN_EXPECT)) nit: Probably use ...
5 years, 4 months ago (2015-07-28 06:17:52 UTC) #74
Simon Que
On 2015/07/28 06:17:52, jar (doing other things) wrote: > https://codereview.chromium.org/986503002/diff/1020001/third_party/tcmalloc/chromium/src/farmhash.cc > File third_party/tcmalloc/chromium/src/farmhash.cc (right): Good ...
5 years, 4 months ago (2015-07-28 06:45:26 UTC) #75
Simon Que
https://codereview.chromium.org/986503002/diff/1040001/third_party/tcmalloc/chromium/src/leak_detector_value_type.h File third_party/tcmalloc/chromium/src/leak_detector_value_type.h (right): https://codereview.chromium.org/986503002/diff/1040001/third_party/tcmalloc/chromium/src/leak_detector_value_type.h#newcode75 third_party/tcmalloc/chromium/src/leak_detector_value_type.h:75: const CallStack* call_stack_; On 2015/07/28 06:17:51, jar (doing other ...
5 years, 4 months ago (2015-07-28 18:10:56 UTC) #76
jar (doing other things)
mal@: Can you figure out who should help with this landing? I think it is ...
5 years, 4 months ago (2015-08-06 00:18:45 UTC) #78
Simon Que
On 2015/08/06 00:18:45, jar (doing other things) wrote: > mal@: Can you figure out who ...
5 years, 4 months ago (2015-08-06 00:34:23 UTC) #79
jar (doing other things)
On 2015/08/06 00:34:23, Simon Que wrote: > On 2015/08/06 00:18:45, jar (doing other things) wrote: ...
5 years, 4 months ago (2015-08-06 00:50:50 UTC) #80
Mark Larson
I'm not in a great position to parse this code review, but I hear jar@'s ...
5 years, 4 months ago (2015-08-06 02:23:16 UTC) #81
chromium-reviews
I talked to jar@ offline. The issue is that the leak detector uses tcmalloc's internal ...
5 years, 4 months ago (2015-08-06 02:42:10 UTC) #82
bccheng
I just want to add a bit more context about the memory allocator situation for ...
5 years, 4 months ago (2015-08-06 23:19:08 UTC) #83
Simon Que
jar: I've moved everything to components/metrics. I think farmhash will have to be moved to ...
5 years, 4 months ago (2015-08-07 01:43:20 UTC) #84
Simon Que
On 2015/08/07 01:43:20, Simon Que wrote: > jar: I've moved everything to components/metrics. > > ...
5 years, 4 months ago (2015-08-07 01:56:15 UTC) #85
gpike
> Since TCMalloc is near its end of service time, directly adding the leak > ...
5 years, 4 months ago (2015-08-07 17:35:11 UTC) #86
jar (doing other things)
I only started to review the code... but had a number of comments. Could you ...
5 years, 4 months ago (2015-08-14 02:34:38 UTC) #88
Simon Que
https://codereview.chromium.org/986503002/diff/1140001/components/metrics/leak_detector/leak_analyzer.cc File components/metrics/leak_detector/leak_analyzer.cc (right): https://codereview.chromium.org/986503002/diff/1140001/components/metrics/leak_detector/leak_analyzer.cc#newcode42 components/metrics/leak_detector/leak_analyzer.cc:42: for (size_t i = 0; i < ranked_entries_.size() && ...
5 years, 4 months ago (2015-08-14 04:21:26 UTC) #89
jar (doing other things)
Here are some more comments. Again, please try to clean up other portions of the ...
5 years, 4 months ago (2015-08-15 03:29:01 UTC) #90
Simon Que
https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.cc File components/metrics/leak_detector/call_stack_table.cc (right): https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.cc#newcode40 components/metrics/leak_detector/call_stack_table.cc:40: return call_stack->hash; On 2015/08/15 03:29:01, jar (doing other things) ...
5 years, 4 months ago (2015-08-15 23:28:30 UTC) #91
Simon Que
https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.cc File components/metrics/leak_detector/call_stack_table.cc (right): https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.cc#newcode40 components/metrics/leak_detector/call_stack_table.cc:40: return call_stack->hash; On 2015/08/15 03:29:01, jar (doing other things) ...
5 years, 4 months ago (2015-08-15 23:28:31 UTC) #92
Simon Que
https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.h File components/metrics/leak_detector/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.h#newcode37 components/metrics/leak_detector/call_stack_table.h:37: CallStackTable(int call_stack_suspicion_threshold); On 2015/08/15 23:28:30, Simon Que wrote: > ...
5 years, 4 months ago (2015-08-18 22:34:05 UTC) #93
Simon Que
jar: I've made some more changes along the lines of your feedback. PTAL
5 years, 4 months ago (2015-08-18 23:17:03 UTC) #94
Simon Que
https://codereview.chromium.org/986503002/diff/1300001/components/metrics/leak_detector/stl_allocator.h File components/metrics/leak_detector/stl_allocator.h (right): https://codereview.chromium.org/986503002/diff/1300001/components/metrics/leak_detector/stl_allocator.h#newcode48 components/metrics/leak_detector/stl_allocator.h:48: // << "n=" << n << " is too ...
5 years, 4 months ago (2015-08-20 00:29:02 UTC) #115
Simon Que
https://codereview.chromium.org/986503002/diff/1300001/components/metrics/leak_detector/stl_allocator.h File components/metrics/leak_detector/stl_allocator.h (right): https://codereview.chromium.org/986503002/diff/1300001/components/metrics/leak_detector/stl_allocator.h#newcode48 components/metrics/leak_detector/stl_allocator.h:48: // << "n=" << n << " is too ...
5 years, 4 months ago (2015-08-20 04:21:55 UTC) #116
jar (doing other things)
Most critically, all this code needs unit tests. https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.h File components/metrics/leak_detector/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/1220001/components/metrics/leak_detector/call_stack_table.h#newcode34 components/metrics/leak_detector/call_stack_table.h:34: long ...
5 years, 4 months ago (2015-08-21 02:48:44 UTC) #117
Simon Que
Regarding all the printing code: I suggest not being too worried about it as it ...
5 years, 4 months ago (2015-08-21 05:44:05 UTC) #118
jar (doing other things)
You shouldn't land code without unit tests. A todo is not sufficient. You should be ...
5 years, 4 months ago (2015-08-21 17:32:32 UTC) #119
bjanakiraman1
On Fri, Aug 21, 2015 at 10:32 AM, <jar@chromium.org> wrote: > You shouldn't land code ...
5 years, 4 months ago (2015-08-21 17:54:42 UTC) #120
jar (doing other things)
Chromium never (to my knowledge) allows code to be landed without unit tests. ... and ...
5 years, 4 months ago (2015-08-21 19:40:52 UTC) #121
wtc
Just some drive-by review comments, which you may ignore. https://codereview.chromium.org/986503002/diff/1340001/components/metrics/leak_detector/call_stack_table.h File components/metrics/leak_detector/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/1340001/components/metrics/leak_detector/call_stack_table.h#newcode15 components/metrics/leak_detector/call_stack_table.h:15: ...
5 years, 4 months ago (2015-08-21 20:02:12 UTC) #123
bjanakiraman1
On Fri, Aug 21, 2015 at 12:40 PM, Jim Roskind <jar@chromium.org> wrote: > Chromium never ...
5 years, 4 months ago (2015-08-21 20:09:38 UTC) #124
Simon Que
The only concern I had was other developers objecting to running a test for something ...
5 years, 4 months ago (2015-08-21 21:03:26 UTC) #125
Simon Que
Jim, I've addressed most of your comments that involved minor code changes. I'd like to ...
5 years, 4 months ago (2015-08-21 21:59:20 UTC) #126
jar (doing other things)
You suggested: "And unit tests will be in a separate patch set". This patch must ...
5 years, 4 months ago (2015-08-22 00:21:47 UTC) #128
Simon Que
On 2015/08/22 00:21:47, jar (doing other things) wrote: > You suggested: > > "And unit ...
5 years, 4 months ago (2015-08-22 00:35:21 UTC) #129
Simon Que
https://codereview.chromium.org/986503002/diff/1340001/components/metrics/leak_detector/call_stack_table.h File components/metrics/leak_detector/call_stack_table.h (right): https://codereview.chromium.org/986503002/diff/1340001/components/metrics/leak_detector/call_stack_table.h#newcode15 components/metrics/leak_detector/call_stack_table.h:15: #include <gperftools/custom_allocator.h> On 2015/08/21 20:02:12, wtc wrote: > > ...
5 years, 4 months ago (2015-08-22 22:41:51 UTC) #130
Simon Que
Added unit tests for LeakAnalyzer and RankedList. Will add unit tests for CallStackTable and LeakDetectorImpl, ...
5 years, 4 months ago (2015-08-23 05:32:08 UTC) #132
Simon Que
https://codereview.chromium.org/986503002/diff/1320001/components/metrics/leak_detector/leak_detector.h File components/metrics/leak_detector/leak_detector.h (right): https://codereview.chromium.org/986503002/diff/1320001/components/metrics/leak_detector/leak_detector.h#newcode14 components/metrics/leak_detector/leak_detector.h:14: // Singleton management functions. On 2015/08/21 05:44:05, Simon Que ...
5 years, 4 months ago (2015-08-23 23:30:53 UTC) #164
Simon Que
Unit test for CallStackTable has been added.
5 years, 4 months ago (2015-08-23 23:31:37 UTC) #165
Simon Que
5 years, 3 months ago (2015-08-27 20:41:33 UTC) #171
Simon Que
https://codereview.chromium.org/986503002/diff/1320001/components/metrics/leak_detector/ranked_list.h File components/metrics/leak_detector/ranked_list.h (right): https://codereview.chromium.org/986503002/diff/1320001/components/metrics/leak_detector/ranked_list.h#newcode47 components/metrics/leak_detector/ranked_list.h:47: // with the same value. On 2015/08/23 23:30:53, Simon ...
5 years, 3 months ago (2015-08-31 05:47:03 UTC) #173
Simon Que
https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/leak_detector_impl_unittest.cc File components/metrics/leak_detector/leak_detector_impl_unittest.cc (right): https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/leak_detector_impl_unittest.cc#newcode417 components/metrics/leak_detector/leak_detector_impl_unittest.cc:417: JuliaSet(false); Comment on flag meaning.
5 years, 3 months ago (2015-09-01 21:09:48 UTC) #175
bjanakiraman1
I took a quick look at this main test that checks the leak detector, seems ...
5 years, 3 months ago (2015-09-01 21:27:27 UTC) #177
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986503002/1660001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/986503002/1660001
5 years, 3 months ago (2015-09-01 21:43:41 UTC) #179
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/92480) ios_dbg_simulator_ninja on ...
5 years, 3 months ago (2015-09-01 21:46:24 UTC) #181
bjanakiraman1
Mostly, comments about adding better explanations. Otherwise LGTM. https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc File components/metrics/leak_detector/call_stack_manager_unittest.cc (right): https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc#newcode138 components/metrics/leak_detector/call_stack_manager_unittest.cc:138: EXPECT_EQ(0U, ...
5 years, 3 months ago (2015-09-01 21:48:55 UTC) #182
Simon Que
https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc File components/metrics/leak_detector/call_stack_manager_unittest.cc (right): https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc#newcode138 components/metrics/leak_detector/call_stack_manager_unittest.cc:138: EXPECT_EQ(0U, manager.size()); On 2015/09/01 21:48:55, bjanakiraman1 wrote: > In ...
5 years, 3 months ago (2015-09-01 23:23:31 UTC) #183
jar (doing other things)
Incomplete review... I only looked at the unit tests.... I still need to look around ...
5 years, 3 months ago (2015-09-04 18:01:56 UTC) #184
Simon Que
https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc File components/metrics/leak_detector/call_stack_manager_unittest.cc (right): https://codereview.chromium.org/986503002/diff/1660001/components/metrics/leak_detector/call_stack_manager_unittest.cc#newcode20 components/metrics/leak_detector/call_stack_manager_unittest.cc:20: reinterpret_cast<const void*>(0x55667788), On 2015/09/04 18:01:56, jar (doing other things) ...
5 years, 3 months ago (2015-09-07 06:40:32 UTC) #185
jar (doing other things)
Adding Will Harris as a reviewer. Hopefully he can give this the attention that was ...
5 years, 2 months ago (2015-09-25 18:00:36 UTC) #189
Simon Que
On 2015/09/25 18:00:36, jar (doing other things) wrote: > Adding Will Harris as a reviewer. ...
5 years, 2 months ago (2015-09-25 18:16:54 UTC) #190
bjanakiraman1
Simon, If not Will, who is going to be reviewing the changes? If this is ...
5 years, 2 months ago (2015-09-25 19:23:35 UTC) #191
Simon Que
On 2015/09/25 19:23:35, bjanakiraman1 wrote: > Simon, > If not Will, who is going to ...
5 years, 2 months ago (2015-09-25 19:38:49 UTC) #192
Will Harris
https://codereview.chromium.org/986503002/diff/1820001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/986503002/diff/1820001/build/common.gypi#newcode2770 build/common.gypi:2770: 'defines': ['ENABLE_REMOTING=1'], driveby: this looks like a confused rebase?
5 years, 2 months ago (2015-09-26 05:09:06 UTC) #193
Simon Que
https://codereview.chromium.org/986503002/diff/1820001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/986503002/diff/1820001/build/common.gypi#newcode2770 build/common.gypi:2770: 'defines': ['ENABLE_REMOTING=1'], On 2015/09/26 05:09:06, Will Harris wrote: > ...
5 years, 2 months ago (2015-09-26 21:48:33 UTC) #194
Simon Que
Here is the design doc viewable by chromium.org accounts: https://docs.google.com/document/d/1Rq7NCQ4IaMhT5jO3Z1nsq1tZ1YAC6NR7X2MWsEVqZDA/edit
5 years, 1 month ago (2015-10-28 23:00:45 UTC) #195
jar (doing other things)
You might consider adding at least "comment access" to the doc (currently we can only ...
5 years, 1 month ago (2015-11-02 19:37:34 UTC) #196
Will Harris
In general this looks okay for first commit of the core analytical code, but I ...
5 years, 1 month ago (2015-11-11 17:33:02 UTC) #198
Simon Que
Removed logging. https://codereview.chromium.org/986503002/diff/1900001/components/metrics/leak_detector/leak_detector_impl.cc File components/metrics/leak_detector/leak_detector_impl.cc (right): https://codereview.chromium.org/986503002/diff/1900001/components/metrics/leak_detector/leak_detector_impl.cc#newcode42 components/metrics/leak_detector/leak_detector_impl.cc:42: snprintf(line, sizeof(line), "%d: %s\n", getpid(), str); On ...
5 years, 1 month ago (2015-11-12 17:29:24 UTC) #200
Simon Que
I've added links to the documents to the crbug (see BUG= line).
5 years, 1 month ago (2015-11-12 19:44:14 UTC) #201
Will Harris
Almost there! How are you managing thread safety in calls to RecordAlloc and RecordFree? Depending ...
5 years, 1 month ago (2015-11-13 17:46:37 UTC) #203
Simon Que
On 2015/11/13 17:46:37, Will Harris wrote: > Almost there! > > How are you managing ...
5 years, 1 month ago (2015-11-13 18:23:42 UTC) #204
Will Harris
On 2015/11/13 18:23:42, Simon Que wrote: > On 2015/11/13 17:46:37, Will Harris wrote: > > ...
5 years, 1 month ago (2015-11-13 19:51:12 UTC) #205
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/986503002/diff/1940001/components/metrics/leak_detector/OWNERS File components/metrics/leak_detector/OWNERS (right): https://codereview.chromium.org/986503002/diff/1940001/components/metrics/leak_detector/OWNERS#newcode1 components/metrics/leak_detector/OWNERS:1: sque@chromium.org OWNERS files are recommended to ...
5 years, 1 month ago (2015-11-13 20:51:28 UTC) #208
Simon Que
https://codereview.chromium.org/986503002/diff/1940001/components/metrics/leak_detector/OWNERS File components/metrics/leak_detector/OWNERS (right): https://codereview.chromium.org/986503002/diff/1940001/components/metrics/leak_detector/OWNERS#newcode1 components/metrics/leak_detector/OWNERS:1: sque@chromium.org On 2015/11/13 20:51:27, Alexei Svitkine (slow) wrote: > ...
5 years, 1 month ago (2015-11-13 23:44:57 UTC) #209
jar (doing other things)
high level comment: I didn't see how you would hook into the allocator (and free) ...
5 years, 1 month ago (2015-11-14 02:58:37 UTC) #211
Simon Que
https://codereview.chromium.org/986503002/diff/1960001/components/metrics/leak_detector/call_stack_manager.cc File components/metrics/leak_detector/call_stack_manager.cc (right): https://codereview.chromium.org/986503002/diff/1960001/components/metrics/leak_detector/call_stack_manager.cc#newcode23 components/metrics/leak_detector/call_stack_manager.cc:23: call_stack->depth * sizeof(*call_stack->stack)); On 2015/11/14 02:58:35, jar (doing other ...
5 years, 1 month ago (2015-11-17 00:28:48 UTC) #212
Simon Que
On 2015/11/14 02:58:37, jar (doing other things) wrote: > high level comment: > > I ...
5 years, 1 month ago (2015-11-17 00:34:18 UTC) #213
Will Harris
> I mentioned in the CL description that this code by itself is not thread-safe. ...
5 years, 1 month ago (2015-11-17 00:38:19 UTC) #214
Simon Que
+jochen to review components/components_tests.gyp
5 years, 1 month ago (2015-11-18 04:06:33 UTC) #216
jochen (gone - plz use gerrit)
https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi#newcode107 components/metrics.gypi:107: 'target_name': 'metrics_leak_detector', where's the gn version? https://codereview.chromium.org/986503002/diff/2040001/components/metrics/leak_detector/OWNERS File components/metrics/leak_detector/OWNERS ...
5 years, 1 month ago (2015-11-18 16:15:37 UTC) #218
Simon Que
https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi#newcode107 components/metrics.gypi:107: 'target_name': 'metrics_leak_detector', On 2015/11/18 16:15:37, jochen wrote: > where's ...
5 years, 1 month ago (2015-11-19 23:44:57 UTC) #219
jochen (gone - plz use gerrit)
On 2015/11/19 at 23:44:57, sque wrote: > https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi > File components/metrics.gypi (right): > > https://codereview.chromium.org/986503002/diff/2040001/components/metrics.gypi#newcode107 ...
5 years, 1 month ago (2015-11-20 13:39:24 UTC) #220
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-20 13:39:48 UTC) #221
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986503002/2080001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/986503002/2080001
5 years, 1 month ago (2015-11-21 00:34:18 UTC) #224
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/91610) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 1 month ago (2015-11-21 00:56:31 UTC) #226
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986503002/2100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/986503002/2100001
5 years, 1 month ago (2015-11-21 01:44:29 UTC) #229
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/97658)
5 years, 1 month ago (2015-11-21 03:00:08 UTC) #231
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986503002/2120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/986503002/2120001
5 years, 1 month ago (2015-11-21 05:59:21 UTC) #234
commit-bot: I haz the power
Committed patchset #52 (id:2120001)
5 years, 1 month ago (2015-11-21 08:04:05 UTC) #235
commit-bot: I haz the power
Patchset 52 (id:??) landed as https://crrev.com/d02b109cb1f41b7ea0584d0910c8bb4cf21cb521 Cr-Commit-Position: refs/heads/master@{#361012}
5 years, 1 month ago (2015-11-21 08:04:52 UTC) #236
Will Harris
On 2015/11/21 08:04:52, commit-bot: I haz the power wrote: > Patchset 52 (id:??) landed as ...
5 years, 1 month ago (2015-11-21 08:06:20 UTC) #237
tsergeant
5 years, 1 month ago (2015-11-23 00:06:56 UTC) #238
Message was sent while issue was closed.
A revert of this CL (patchset #52 id:2120001) has been created in
https://codereview.chromium.org/1472693002/ by tsergeant@chromium.org.

The reason for reverting is: This CL has been causing the builder Linux
ChromiumOS Tests (dbg)(1) to fail:

https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698