| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
BUG=302696
R=darin@chromium.org, derat@chromium.org
Review URL: https://codereview.chromium.org/52823002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233414 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The original CL was landed in https://codereview.chromium.org/26541005/
but the CL caused a dead lock. This CL fixed the issue.
NOTRY=true
Review URL: https://codereview.chromium.org/28593003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233266 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parsing of both vmstat and meminfo was previously based on fixed
positions for various entries with the files, and meminfo already had
some iteration code for where this assumption wasn't working.
Neither of those files make guarantees about positions or even
existence of some of the entries. This fixes the issue entirely by
iterating through the files for all entries, and adds unit tests to
make sure they work properly with files from different kernels.
This does change the behavior of the meminfo parsing code a bit to
make it more permissive than previously, but that should also ensure
that it works better on older or different kernels.
BUG=295111,309930
TEST=base_unittests --gtest_filter=SystemMetricsTest.*
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/34683007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r232181 changed build/common.gypi to set ARCHS=i386 explicitly for
target_arch==ia32. However, we don't want to set ARCHS=i386 for iOS device
builds (because iOS devices are a different architecture entirely). This CL
arranges to leaved ARCHS untouched for iOS builds, so that Xcode will use its
defaults; this was the behavior before r232181.
The non-intuitive aspect is that target_arch==ia32 for OS=="ios", because
host_arch is set to 'ia32' at line 88 of build/common.gypi for 'OS=="win" or
OS=="mac" or OS=="ios"' and target_arch is set from host_arch at line 117.
With build/common.gypi fixed, we also need to fix
discardable_memory_provider_unittest.cc for iOS device builds, now that it is
being compiled with the correct architecture.
BUG=314712
Review URL: https://codereview.chromium.org/58373003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233050 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=298967
Review URL: https://codereview.chromium.org/58583003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232947 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/57463003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232902 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow up CL of r185433, which mistook |message| for |wparam|.
With this CL, base::PowerMonitor and base::PowerObserver become
functional again on Windows.
BUG=314477, 149059
TEST=manually done with a debugger (by disconnecting the power supply cable)
Review URL: https://codereview.chromium.org/57383002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232900 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This overrides any environment variables (a message is printed that
clearly says which settings are applied).
Main rationale is that runtest.py is well suited to pass command line
flags but not environment variables.
BUG=236893
R=sky@chromium.org
Review URL: https://codereview.chromium.org/58413003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232869 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Allows ptr_type to be configurable.
BUG=
Review URL: https://codereview.chromium.org/49913003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232858 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=314364
TEST=audio playback still works, just glitches in 48->44
R=ajwong@chromium.org
Review URL: https://codereview.chromium.org/49303008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232845 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The issue is that with Aura if something goes horribly wrong with the GPU, the user can get a 'black window' with no UI.
So for ConOps it is nice to have a way to start chrome with a set of flags that we know should get you a working chrome that they can troubleshoot.
To do this we add a hotkey combo to the start menu shortcut, in this case ctrl-shift-f10 which is not taken by windows. This shortcut can start chrome in this safe mode.
BUG=271719
TEST=see bug
R=robertshield@chromium.org
Review URL: https://codereview.chromium.org/57173002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232825 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is a speculative revert to see if it's the cause of hanging renderers.
BUG=313112
Review URL: https://codereview.chromium.org/57783006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232819 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux Sandbox"
Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
it to be called by the renderer process after the sandbox is sealed.
BUG=312241
Review URL: https://codereview.chromium.org/55913004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232790 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This refactors out the non-trivial parsing functions from
GetSystemMemoryInfo in preparation for fixing them and adding unit-tests.
BUG=309930
TEST=about:memory still works
R=brettw@chromium.org, davemoore@chromium.org
Review URL: https://codereview.chromium.org/32253007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232627 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously TraceLog::UpdateTraceEventDuration() doesn't consider
time_offset_. Added OffsetNow() and OffsetTimestamp() to avoid
TimeTicks::NowFromSystemTraceTime() in most part of TraceLog.
TEST=TraceEventTestFixture.TimeOffset
BUG=none
Review URL: https://codereview.chromium.org/52973006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232549 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236893, 312747
R=sky@chromium.org
Review URL: https://codereview.chromium.org/55473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232491 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Speculative attempt to diagnose stack corruption issues.
BUG=313843
TEST=none
Review URL: https://codereview.chromium.org/54993006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232449 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unary minus is used on unsigned type deliberately.
TEST= None
BUG= None
TBR= jar@chromium.org
Review URL: https://codereview.chromium.org/54073005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232320 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TEST=base_unittests --gtest_filter=PickleTest.*
BUG=312250
R=jar@chromium.org
Review URL: https://codereview.chromium.org/50473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232315 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Broke all linux dbg layout tests (again):
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20%28dbg%29/builds/14495
> Reland "Enable SysInfo::AmountOfPhysicalMemory to be called from within the Linux Sandbox"
>
> Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
> it to be called by the renderer process after the sandbox is sealed.
>
> BUG=312241
>
> Review URL: https://codereview.chromium.org/52403002
TBR=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/54923005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux Sandbox"
Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
it to be called by the renderer process after the sandbox is sealed.
BUG=312241
Review URL: https://codereview.chromium.org/52403002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232274 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Fix leak of DictionaryValue in PrefsFunctionalTest.TestHaveLocalStatePrefs.
BUG=313722
TBR=bauerb@chromium.org, phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/46763006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also tag the JSON results indicating this was an early exit.
BUG=236893
R=sky@chromium.org
Review URL: https://codereview.chromium.org/53353005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232208 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Added static method to correlate the TimeTicks to a real date and time; in this case UnixEpoch since that is a commonly known time/date.
Review URL: https://codereview.chromium.org/34623008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232194 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
IsBadCodePtr() function was returning zero value randomly and the test was
raising false alarms sometimes. This fix changes the test to use
GetFunctionPointerFromNativeLibrary() instead.
BUG=
Review URL: https://codereview.chromium.org/32303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232192 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
I don't want to initialize it from content shell, because I would have
to duplicate all crash key registration we do in chrome.
BUG=none
R=mark@chromium.org, rsesek@chromium.org
Review URL: https://codereview.chromium.org/54363004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232119 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make it possible to pin shortcuts by setting the relaunch data for each browser window.
BUG=177490,107080,146647
TEST=Create separate profiles and pin the taskbar icons. Clicking the pinned icons should relaunch chrome with the appropriate profile.
TBR=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231295
Review URL: https://codereview.chromium.org/14122006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232109 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify all the references to use src/tools/swarming_client/.
The build scripts already support both.
R=csharp@chromium.org, torne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/29993003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232104 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This partly reverts r229838 and is only a temporary change that will be
reverted soon.
It is needed to stabilize memory metrics so that other regressions can be
caught.
BUG=311633
Review URL: https://codereview.chromium.org/52303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232081 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renames small memory -> low end device to be consistent with our APIs.
BUG=308353
NOTRY=true
R=dtrainor@chromium.org
Review URL: https://codereview.chromium.org/52953003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232073 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Mali driver (which is currently the only ARM Chrome OS driver) doesn't
support strict ordering between contexts, so we need virtual contexts.
Currently we can't gather the GL_VENDOR/GL_RENDERER on Chrome OS for use in the
workarounds list, so we enable it on all Chrome OS ARM.
BUG=285292,chrome-os-partner:22688
R=ajwong@chromium.org, zmo@chromium.org
Review URL: https://codereview.chromium.org/46663009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232009 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pickle is hot in some benchmarks. This helps by reworking WriteBytes in a few of ways:
1- Fold BeginWrite and EndWrite into WriteBytes since it's the only caller now.
2- keep track of the write offset, always aligned, separately, so that we can do alignment checks on the field sizes rather than the payload size (for next point).
3- provides a template version of WriteBytes with specializations for predefined sizes, that inline/optimize away alignment checks, padding, and memcpy.
4- change the meaning of capacity_ to not take the header size into account. This simplifies some arithmetic.
BUG=307480
R=jar@chromium.org
Review URL: https://codereview.chromium.org/34413002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
R=jar@chromium.org
Review URL: https://codereview.chromium.org/38693003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231911 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move this outside of Chrome to enable moving ExtensionPrefs
to the top-level extensions/ directory.
BUG=313284
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/46073004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231905 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toll-free bridging of CT/NSFont.
BUG=312436
TEST=no console spew as in bug
R=asvitkine@chromium.org, mark@chromium.org, shess@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231670
Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=231685
Review URL: https://codereview.chromium.org/49503003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231879 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds support for emulated discardable memory. The memory is managed by a
provider which listens for memory pressure notifications from the platform.
Currently, only android pushes these notifications, but in future patches, we
will apply pressure on other platforms in certain situations (e.g., when a tab
gets backgrounded).
BUG=237681
Review URL: https://codereview.chromium.org/17106004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231845 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
read_only_ parameter is passed
BUG=307301
TEST=base_unittests
Review URL: https://codereview.chromium.org/27483005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231836 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Puts the static functions together and
moves the constructor to be in the same
order in the .cc file as in the .h file.
No logic changes.
BUG=none
Review URL: https://codereview.chromium.org/51233003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231798 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Make RenderTextMac more efficient by caching fonts and taking advantage of toll-free bridging of CT/NSFont.
>
> BUG=312436
> TEST=no console spew as in bug
> R=asvitkine@chromium.org, mark@chromium.org, shess@chromium.org
>
> Review URL: https://codereview.chromium.org/49503003
TBR=avi@chromium.org
Review URL: https://codereview.chromium.org/51463003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231685 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=304860, 312196
TEST=run from the command line with dots
R=mark@chromium.org
Review URL: https://codereview.chromium.org/51023003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
toll-free bridging of CT/NSFont.
BUG=312436
TEST=no console spew as in bug
R=asvitkine@chromium.org, mark@chromium.org, shess@chromium.org
Review URL: https://codereview.chromium.org/49503003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231670 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pass --test-launcher-test-stdio=always to always include test stdio
in test launcher's standard output.
BUG=236893
R=hubbe@chromium.org
Review URL: https://codereview.chromium.org/46043019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Call Pickle::Reserve() for the size of the data in the shared quad
state and quad lists. This prevents the WriteFoo() invocations for
all of the quad/shared quad states from causing memory re-allocations
and moves.
This is based on https://codereview.chromium.org/34413002/ from piman@.
This is also based after https://codereview.chromium.org/30593005/ and
perf numbers (both before and after) include that CL also.
content_perftest results on linux chromeos release official build:
BEFORE
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_1_4000= 50 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_1_100000= 1888 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_4000_4000= 728 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_100000_100000= 23771 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyRenderPasses_10000_100= 24118 us
AFTER
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_1_4000= 48 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_1_100000= 1626 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_4000_4000= 460 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyQuads_100000_100000= 14771 us
*RESULT mean_frame_serialization_time: DelegatedFrame_ManyRenderPasses_10000_100= 15626 us
This gives a further ~1.5x improvement in serialization time for shared quad
states and render passes.
R=jar@chromium.org, piman@chromium.org, tsepez@chromium.org, piman
BUG=307480
Review URL: https://codereview.chromium.org/35893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231656 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Enable SysInfo::AmountOfPhysicalMemory to be called from within the Linux sandbox.
>
> Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
> it to be called by the renderer process after the sandbox is sealed.
>
> BUG=312241
>
> Review URL: https://codereview.chromium.org/28833002
TBR=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/51223003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns on out OS_IOS also defines OS_MACOSX
BUG=none
R=justincohen@chromium.org, mark@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/46883007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231617 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sandbox.
Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
it to be called by the renderer process after the sandbox is sealed.
BUG=312241
Review URL: https://codereview.chromium.org/28833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows creating a field trial not associated with the global field trial
list, e.g. to simulate group assignment without affecting global state.
See associated bug for more detailed motivation.
BUG=281474
TEST=New unit tests.
Review URL: https://codereview.chromium.org/23503019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231612 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/47563004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231574 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sets the "large buffer" flag for file finding which is supposed increase throughput at potentially increased latency. Since we seldom interrupt find operations and don't block the UI thread, this should improve performance slightly.
This also sets the "basic information" flag which will omit the short filename, which the documentation says should make it a bit faster. I checked and there is currently no user of this data.
See also:
http://blogs.msdn.com/b/oldnewthing/archive/2013/10/24/10459773.aspx
BUG=
Review URL: https://codereview.chromium.org/48183005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
run_test_cases.py
Example of a slow test is ExtensionSettingsFrontendTest.QuotaLimitsEnforcedCorrectlyForSyncAndLocal
which takes over 50 seconds on Windows debug bots.
BUG=236893
R=rmsousa@chromium.org
Review URL: https://codereview.chromium.org/46043006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231447 0039d316-1c4b-4281-b951-d872f2087c98
|