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

Issue 1572353002: QuicAlarms are now allocated out of an arena in QuicConnection (Closed)

Created:
4 years, 11 months ago by Jeremy Dorfman
Modified:
4 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

relnote: QuicAlarms are now allocated out of an arena in QuicConnection. Guarded by quic_enable_arena_allocation. Enabled by default. This results in around a 2% improvement in CPU usage, which mostly comes from reducing the number of stalls whenever an alarm fires. Enabled by default because otherwise, QuicConnections use extra memory that they never use. Merge internal change: 111441965 Fix a static_assert in quic_arena_scoped_ptr. No runtime or functional change. Merge internal change: 111881552 relnote: n/a. Apply language fixes to QuicArenaScopedPtr/QuicOneBlockArena to allow them to build in Chromium. Not flag protected. Merge internal change: 112057527 Committed: https://crrev.com/4ea54a24b7adab2c793fdcfdc01ff57363ceb9d2 Cr-Commit-Position: refs/heads/master@{#370803}

Patch Set 1 #

Patch Set 2 : Remove constexpr from QuicOneBlockArena #

Patch Set 3 : Portability fix for alignment. #

Patch Set 4 : Fix bug in alignment assertion. #

Patch Set 5 : Fix MSVC again. #

Patch Set 6 : Remove configurable alignment in QuicOneBlockArena; it doesn't work well. #

Patch Set 7 : Hard code alignment for MSVC. #

Patch Set 8 : Try again to fix iOS tests. #

Patch Set 9 : Merge recent changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+645 lines, -51 lines) Patch
M net/net.gypi View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_alarm.h View 3 chunks +3 lines, -2 lines 0 comments Download
M net/quic/quic_alarm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_alarm_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
A net/quic/quic_arena_scoped_ptr.h View 1 2 3 4 5 8 1 chunk +210 lines, -0 lines 0 comments Download
A net/quic/quic_arena_scoped_ptr_test.cc View 1 2 3 4 5 6 7 1 chunk +107 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_connection_helper.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_connection_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -3 lines 0 comments Download
M net/quic/quic_connection.h View 1 2 3 4 5 6 7 8 5 chunks +28 lines, -11 lines 0 comments Download
M net/quic/quic_connection.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -8 lines 0 comments Download
M net/quic/quic_connection_test.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -2 lines 0 comments Download
M net/quic/quic_flags.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
A net/quic/quic_one_block_arena.h View 1 2 3 4 5 6 1 chunk +81 lines, -0 lines 0 comments Download
A net/quic/quic_one_block_arena_test.cc View 1 2 3 4 5 6 7 1 chunk +68 lines, -0 lines 0 comments Download
M net/quic/quic_utils.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -1 line 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.cc View 2 chunks +16 lines, -3 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper_test.cc View 6 chunks +45 lines, -17 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Jeremy Dorfman
4 years, 11 months ago (2016-01-21 18:44:34 UTC) #3
Ryan Hamilton
lgtm
4 years, 11 months ago (2016-01-21 18:45:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572353002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572353002/140001
4 years, 11 months ago (2016-01-21 18:46:51 UTC) #9
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/120079) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 11 months ago (2016-01-21 18:50:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572353002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572353002/140001
4 years, 11 months ago (2016-01-21 18:51:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/11133) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 11 months ago (2016-01-21 18:53:45 UTC) #16
Ryan Hamilton
lgtm lgtm. wornder what's up with the purple bots. let's see if they fix theselves...
4 years, 11 months ago (2016-01-21 21:23:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572353002/160001
4 years, 11 months ago (2016-01-21 21:24:27 UTC) #19
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-21 22:12:58 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 22:13:53 UTC) #23
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/4ea54a24b7adab2c793fdcfdc01ff57363ceb9d2
Cr-Commit-Position: refs/heads/master@{#370803}

Powered by Google App Engine
This is Rietveld 408576698