- 31 Oct, 2011 40 commits
-
-
zelidrag@chromium.org authored
BUG=chromium-os:11535 TEST=make sure no thread trelated assertion are happening during mobile activation now when ScopedAllowIO is removed Review URL: http://codereview.chromium.org/8414039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107970 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
Since we haven't done anything more with history and some users are experiencing larger than expected history files, we can probably now be more aggressive about deleting stuff that isn't so useful. I changed a number of thresholds: - We now keep full text indexed data for 3 months instead of 12. - We now expire auto subframe visits after 3 dats instead of 30. I added the rationale in a comment. - We now expire 32 visits per iteration instead of 10. This number is always kind of a guesstimate anyway of balancing overhead of a query versus overhead of a delete. Now that we're moving up some thresholds, we'll have a bunch of history to expire and I would rather get this over with faster than spending hours spinning the CPU every 30 seconds. This will also come up for users that haven't used their browsers in a while. Review URL: http://codereview.chromium.org/8343077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107969 0039d316-1c4b-4281-b951-d872f2087c98
-
cmp@chromium.org authored
This reverts r107750 since the V8 roll causing the perf regression has been reverted. TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/8427005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107968 0039d316-1c4b-4281-b951-d872f2087c98
-
dhollowa@chromium.org authored
1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Review URL: http://codereview.chromium.org/8425002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107967 0039d316-1c4b-4281-b951-d872f2087c98
-
davemoore@chromium.org authored
BUG=101833 TEST=None Review URL: http://codereview.chromium.org/8416056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107965 0039d316-1c4b-4281-b951-d872f2087c98
-
joi@chromium.org authored
BUG=98716 Review URL: http://codereview.chromium.org/8400060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107964 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
I may be able to do better... but I wanted to get the tree greened up. TBR=rtenneti Review URL: http://codereview.chromium.org/8426006 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8431006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107963 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
This is a re-land of: http://codereview.chromium.org/8391019/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107793 Original landing had trouble with message_loop_x.h, due to header include ordering. I pulled out the structure that was really needed by tracked_objects.h into a new file tracked_info.*. This allows tracked_objects to inlude this tracked_info, but not have to include the message_loop.h totality. I also removed a DCHECK that that was triggering on a test, and added yet one more file (browser_main.cc) where I removed a #ifdef for TRACKING_ALL_OBJECTS. The changes were minor, and I'm hoping to get clear perf runs with tihs landing, so I'm going to TBR it and reland early in the morning. Comments from original landing: Support is now controlled by the flag: --enable-tracking and the default is always on. To turn it off, use: --enable-tracking=0 All profiler code is compiled now in release and official builds (in addition to debug, where it was already active), but most entry points can be disabled (turned into no-ops) by a single const bool setting atop tracked_objects.cc (in case folks want to revert the perf-impact of this change). Transition to faster Now() service on Windows for the profiler use only. The TimeTicks::Now() function on Window uses locking to get a 64 bit time value. This CL transitions times used for profiling to more directly use a 32 bit Time interface, which is actually what drives the 64 bit TimeTicks. By using the smaller value, we avoid the need for locks, or even atomic operations for the most part in the tracking system. On linux, we just down-sample the standard TimeTicks to 32 bits for consistency (clean ability to snapshot asyncronously without atomics... but I should verify that such is helpful to performance). I've also put in yet more cleanup and refactoring. tbr=rtenneti bug=101856 Review URL: http://codereview.chromium.org/8414036 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8430004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107961 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
[Re-land of Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107921 with supressions for induced (and planned) leaks) PLUS Removed one line of defensive coding where I set(NULL) the TLS slote at thread teardown. We're seeing strange failures on the base unittests, and they may be related to this. ] Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. tbr=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8425010 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8430003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107960 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
Repair busted tree. TBR=rtenneti Review URL: http://codereview.chromium.org/8425013 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8430002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107959 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
Mac base_unittests is still flaky.... Pthread is still sometimes crashing Mac on shutdown. I'm suspicious that my handlers are tickling it. This removes a DCHECK(), which checked status in TLS during the teardown. TBR=rtenneti Review URL: http://codereview.chromium.org/8424013 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8431003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107958 0039d316-1c4b-4281-b951-d872f2087c98
-
gavinp@chromium.org authored
This browser test tickles the webkit bug described in crbug.com/75604 . The bug is very hard to repliably reproduce in a layout test, so my plan is to land this browser_test, update webkit to fix the bug, and update this test as we garden past the fix. BUG=75604 Review URL: http://codereview.chromium.org/8404001 TBR=gavinp@chromium.org Review URL: http://codereview.chromium.org/8427003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107957 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
X.509 serial numbers should be a positive numbers according to the spec. However, certificates have been issued with negative serial numbers. Negative serial numbers are indicated with a most-significant bit of one. Positive numbers which would have a MSB of 1 have a zero byte prepended to avoid the ambiguity. Previously we removing leading zero bytes because we were only matching against a blacklist of serial numbers, none of which were negative. This change moves the handling of serial numbers to the place where they are used, rather than where they are parsed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8381017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107956 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
BUG=95573 TEST=no change Review URL: http://codereview.chromium.org/8418033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107954 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107952 0039d316-1c4b-4281-b951-d872f2087c98
-
reed@google.com authored
Review URL: http://codereview.chromium.org/8418032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107951 0039d316-1c4b-4281-b951-d872f2087c98
-
ivankr@chromium.org authored
BUG=none TEST=manual: ./build/gyp_chromium with GYP_GENERATOR=ninja shouldn't complain about invalid type 'settings'. Review URL: http://codereview.chromium.org/8426004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107950 0039d316-1c4b-4281-b951-d872f2087c98
-
gavinp@chromium.org authored
This browser test tickles the webkit bug described in crbug.com/75604 . The bug is very hard to repliably reproduce in a layout test, so my plan is to land this browser_test, update webkit to fix the bug, and update this test as we garden past the fix. BUG=75604 Review URL: http://codereview.chromium.org/8404001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107949 0039d316-1c4b-4281-b951-d872f2087c98
-
mark@chromium.org authored
The framework's grown to the point that 32-bit dump_syms no longer has enough memory to do its job. It is failing with messages like: dump_syms(12345) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug dump_syms(12345) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug dump_syms(12345) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug terminate called after throwing an instance of 'St9bad_alloc' what(): std::bad_alloc Moving to 64-bit gives it more space to work with. 64-bit dump_syms is able to dump 32-bit files. BUG=102361 TEST=Breakpad-enabled official release builds Review URL: http://codereview.chromium.org/8409009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107947 0039d316-1c4b-4281-b951-d872f2087c98
-
pfeldman@chromium.org authored
BUG=101718 TEST= Review URL: http://codereview.chromium.org/8422008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107946 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
Note: This was a TODO for aa@. R=sky@chromium.org Review URL: http://codereview.chromium.org/8416036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107945 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
Mac base_unittests is still flaky.... Pthread is still sometimes crashing Mac on shutdown. I'm suspicious that my handlers are tickling it. This removes a DCHECK(), which checked status in TLS during the teardown. TBR=rtenneti Review URL: http://codereview.chromium.org/8424013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107944 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107943 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
I may be able to do better... but I wanted to get the tree greened up. TBR=rtenneti Review URL: http://codereview.chromium.org/8426006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107942 0039d316-1c4b-4281-b951-d872f2087c98
-
ricow@chromium.org authored
TBR=foo Review URL: http://codereview.chromium.org/8424011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107941 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
Repair busted tree. TBR=rtenneti Review URL: http://codereview.chromium.org/8425013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107940 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
[Re-land of Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107921 with supressions for induced (and planned) leaks) PLUS Removed one line of defensive coding where I set(NULL) the TLS slote at thread teardown. We're seeing strange failures on the base unittests, and they may be related to this. ] Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. tbr=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8425010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107939 0039d316-1c4b-4281-b951-d872f2087c98
-
hbono@chromium.org authored
Sorry, I forgot disabling SSLClientSocketTest.ConnectClientAuthCertRequested in my previous changes. (When I logged into the bot and run SSLClientSocketTest there, all other tests finished without crashes.) TBR=stuartmorgan BUT=102330 TEST=make the "Windows Tests (tsan)" bot green. Review URL: http://codereview.chromium.org/8414056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107937 0039d316-1c4b-4281-b951-d872f2087c98
-
tommi@chromium.org authored
TEST=Removes a DCHECK that we would hit on machines without a mic. BUG=none Review URL: http://codereview.chromium.org/8335005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107936 0039d316-1c4b-4281-b951-d872f2087c98
-
yoshiki@chromium.org authored
BUG=101718 TEST=manual Review URL: http://codereview.chromium.org/8424008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107935 0039d316-1c4b-4281-b951-d872f2087c98
-
penghuang@chromium.org authored
BUG=45605 TEST=Tested it with Google Japanese Input method on Win7 Review URL: http://codereview.chromium.org/8294026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107934 0039d316-1c4b-4281-b951-d872f2087c98
-
tommi@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8341107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107933 0039d316-1c4b-4281-b951-d872f2087c98
-
hbono@chromium.org authored
This change suppresses an OOB read (which may be caused by the lack of symbols as written in <http://crbug.com/44341#c24>) and disables another SSLClientSocketTest on the "Windows Tests (tsan)" bot. TBR=stuartmorgan BUG=44341,102330 TEST=make the memory bots greener. Review URL: http://codereview.chromium.org/8424009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107932 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
[Re-land of Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107921 with supressions for induced (and planned) leaks) ] Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. tbr=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8414053 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8422004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107931 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
[Re-land of Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107921 with supressions for induced (and planned) leaks) ] Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. tbr=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8414053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107928 0039d316-1c4b-4281-b951-d872f2087c98
-
dimich@chromium.org authored
BUG=102023 Review URL: http://codereview.chromium.org/8341098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107927 0039d316-1c4b-4281-b951-d872f2087c98
-
dmazzoni@chromium.org authored
This refactors and improves a bunch of views accessibility code on Windows and has the result of enabling NVDA to announce the text selection in the omnibox. The AutocompleteAccessibility class is removed; its functionality is rolled into NativeViewAccessibilityWin. NativeViewAccessibilityWin adds IAccessible2 and IAccessibleText interfaces, allowing it to directly expose the caret and selection to compatible assistive technology. In addition, this gives each accessible object an unique id. Finally, the reference from a View to its NativeViewAccessibilityWin is changed from a scoped_refptr to a ScopedComPtr, because another process may still have a reference to the accessible COM object when the View is deleted. BUG=53380 TEST=Manually test the omnibox with NVDA on Windows. It should announce text that's selected, including autocompletions. Review URL: http://codereview.chromium.org/8391010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107924 0039d316-1c4b-4281-b951-d872f2087c98
-
hbono@chromium.org authored
This change just disables the SSLClientSocketTest.ConnectExpired, which has been failing somehow since Build 102330. TBR=timurrrr,glider,thestig BUG=102330 TEST=make the "Windows Tests (tsan)" bot green. Review URL: http://codereview.chromium.org/8422003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107923 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
[Being extra conservative an leaking tracking data got the base_unittest heap_checkers too excited. I need a supresion to match what we already have in the browser runs to calm them... so I'll revert for now.] Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. r=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8414050 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8414051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107922 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
Be extra carful about handling races in access to status_. This will avoid generating a delta between a null time and a real time, when status is changing in/around the run of a task. This won't help with the benign race for checking status_, but it may help with unit test tsan complaints. Leak data aggressively, rather than cleaning up, to prevent any chance of a data access race between tracked object testing (which need a near-virgin global state, and hence must start by cleaning it up), and other tests, which may have lingering threaded actions, that still access some previously created task tracking data. Provide more options for flags to enable/disable tracking. These options might become useful if we changed the default to not do tracking. Allow for HTML generation even if the tracking has changed to being disabled. This is especially useful for looking at the tracked instances that were monitored after turning tracking on by default, but before the command line deactiated tracking. r=rtenneti bug=102327 Review URL: http://codereview.chromium.org/8414050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107921 0039d316-1c4b-4281-b951-d872f2087c98
-