Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(71)

Issue 568002: Rewrite SimpleStringDictionary with NonAllocatingMap. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rsesek
Modified:
11 years ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Rewrite SimpleStringDictionary with NonAllocatingMap.

NonAllocatingMap has a near-identical interface, but is significantly less code,
more customizable, and has storage that is POD.

BUG=http://code.google.com/p/chromium/issues/detail?id=77656

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1161

Patch Set 1 #

Total comments: 50

Patch Set 2 : #

Total comments: 20

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/ios/Breakpad.mm View 2 chunks +4 lines, -6 lines 0 comments Download
M src/client/mac/Framework/Breakpad.mm View 2 chunks +2 lines, -4 lines 0 comments Download
M src/client/mac/crash_generation/ConfigFile.mm View 1 chunk +5 lines, -5 lines 0 comments Download
M src/client/mac/crash_generation/Inspector.h View 1 1 chunk +6 lines, -5 lines 0 comments Download
M src/common/mac/BreakpadRelease.xcconfig View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/common/simple_string_dictionary.cc View 1 2 1 chunk +7 lines, -91 lines 0 comments Download
M src/common/simple_string_dictionary.h View 1 2 3 1 chunk +183 lines, -116 lines 0 comments Download
M src/common/simple_string_dictionary_unittest.cc View 1 2 5 chunks +170 lines, -74 lines 0 comments Download

Messages

Total messages: 10
rsesek
SimpleStringDictionary's KeyValueEntry not being POD meant I couldn't reuse this the way I wanted to… ...
11 years ago #1
Mark Mentovai
https://breakpad.appspot.com/568002/diff/1/src/client/mac/crash_generation/Inspector.h File src/client/mac/crash_generation/Inspector.h (right): https://breakpad.appspot.com/568002/diff/1/src/client/mac/crash_generation/Inspector.h#newcode68 src/client/mac/crash_generation/Inspector.h:68: KeyValueMessageData(const google_breakpad::SimpleStringDictionary::Entry &inEntry) { Mark this constructor explicit AND ...
11 years ago #2
rsesek
https://breakpad.appspot.com/568002/diff/1/src/client/mac/crash_generation/Inspector.h File src/client/mac/crash_generation/Inspector.h (right): https://breakpad.appspot.com/568002/diff/1/src/client/mac/crash_generation/Inspector.h#newcode68 src/client/mac/crash_generation/Inspector.h:68: KeyValueMessageData(const google_breakpad::SimpleStringDictionary::Entry &inEntry) { On 2013/04/23 21:45:54, Mark Mentovai ...
11 years ago #3
Mark Mentovai
https://breakpad.appspot.com/568002/diff/1/src/common/simple_string_dictionary.h File src/common/simple_string_dictionary.h (right): https://breakpad.appspot.com/568002/diff/1/src/common/simple_string_dictionary.h#newcode181 src/common/simple_string_dictionary.h:181: rsesek wrote: > On 2013/04/23 21:45:54, Mark Mentovai wrote: ...
11 years ago #4
Mark Mentovai
https://breakpad.appspot.com/568002/diff/10/src/common/simple_string_dictionary.cc File src/common/simple_string_dictionary.cc (right): https://breakpad.appspot.com/568002/diff/10/src/common/simple_string_dictionary.cc#newcode39 src/common/simple_string_dictionary.cc:39: union { Some compiler some day (today?) might warn ...
11 years ago #5
rsesek
https://breakpad.appspot.com/568002/diff/1/src/common/simple_string_dictionary.h File src/common/simple_string_dictionary.h (right): https://breakpad.appspot.com/568002/diff/1/src/common/simple_string_dictionary.h#newcode181 src/common/simple_string_dictionary.h:181: On 2013/04/24 02:11:47, Mark Mentovai wrote: > rsesek wrote: ...
11 years ago #6
Mark Mentovai
LGTM https://breakpad.appspot.com/568002/diff/10/src/common/simple_string_dictionary.h File src/common/simple_string_dictionary.h (right): https://breakpad.appspot.com/568002/diff/10/src/common/simple_string_dictionary.h#newcode58 src/common/simple_string_dictionary.h:58: static const size_t key_size = KeySize; rsesek wrote: ...
11 years ago #7
rsesek
https://breakpad.appspot.com/568002/diff/14001/src/common/mac/BreakpadRelease.xcconfig File src/common/mac/BreakpadRelease.xcconfig (right): https://breakpad.appspot.com/568002/diff/14001/src/common/mac/BreakpadRelease.xcconfig#newcode34 src/common/mac/BreakpadRelease.xcconfig:34: GCC_PREPROCESSOR_DEFINITIONS = NDEBUG On 2013/04/24 17:10:33, Mark Mentovai wrote: ...
11 years ago #8
Mark Mentovai
LGTM
11 years ago #9
rsesek
11 years ago #10
Message was sent while issue was closed.
Committed patchset #4 manually as r1161 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted