Chromium Code Reviews

Issue 2297343003: EventLogParser: use std::vector to reduce stack usage (Closed)

Created:
4 years, 3 months ago by skvlad
Modified:
4 years, 3 months ago
Reviewers:
mflodman
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

EventLogParser: use std::vector to reduce stack usage ParsedRtcEventLog::ParseStream was using a stack-allocated 64kb array for a temporary buffer. This was causing problems in build environments with restrictions on stack size. This change replaces it with an std::vector. NOTRY=true Committed: https://crrev.com/1afdf99f9c00155b0c250e9a358de0184933b27c Cr-Commit-Position: refs/heads/master@{#14055}

Patch Set 1 #

Unified diffs Side-by-side diffs Stats (+3 lines, -3 lines)
M webrtc/call/rtc_event_log_parser.cc View 3 chunks +3 lines, -3 lines 0 comments

Messages

Total messages: 15 (8 generated)
skvlad
4 years, 3 months ago (2016-08-31 19:42:49 UTC) #3
mflodman
lgtm
4 years, 3 months ago (2016-09-02 08:40:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2297343003/1
4 years, 3 months ago (2016-09-02 17:53:27 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-02 19:53:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2297343003/1
4 years, 3 months ago (2016-09-02 20:14:10 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-02 20:22:29 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 20:22:37 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1afdf99f9c00155b0c250e9a358de0184933b27c
Cr-Commit-Position: refs/heads/master@{#14055}

Powered by Google App Engine