- 20 Aug, 2009 1 commit
-
-
feng@chromium.org authored
Android system provides a unique feature that it sends a notification to the browser in low memory condition, and the browser cleans up cache and frees resources. Forcing a GC in low memory condition can free DOM objects and also can shrink the old spaces. This patch addresses the last comment in http://codereview.chromium.org/173016/show Mads Ager 2009/08/19 17:24:23 I would prefer to not use the flags to signal that a compacting collection is requested. TBR = ager Review URL: http://codereview.chromium.org/173102 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2725 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Aug, 2009 12 commits
-
-
antonm@chromium.org authored
while performing GlobalHandles::PostGarbageCollectionProcessing as those might be already deleted (in C++ sense). Review URL: http://codereview.chromium.org/173060 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2724 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
The termination is achieved by throwing an exception that is uncatchable by JavaScript exception handlers. Review URL: http://codereview.chromium.org/174056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/173054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/173056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Make sure that the DummyScope top level scope used for pre-parsing have all members initialized. The type of this scope is set to global scope as it is a top level scope. Also ensure that the "naked" Scope constructor can only be used by sub-classes of Scope. The bug of missing initiaalization of members in the DummyScope was found by Valgrind. Review URL: http://codereview.chromium.org/173052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/171108 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2718 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Additionally fix NewSpace capacity bug by removing the duplicated capacity and maximum capacity book keeping. The capacity and maximum capacity of NewSpace is the capacity and maximum capacity of one of it's semispaces. Review URL: http://codereview.chromium.org/174052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2717 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Debugger is now fully functional. Fix difference in emitting statement positions to match ia32. Review URL: http://codereview.chromium.org/171107 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
The growth policy change is next. Review URL: http://codereview.chromium.org/173050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
policy change. I will put the changes back one at a time so we can see the effect of them in isolation. Also, there is a bug in the growth policy change that I will fix before putting it back again. Review URL: http://codereview.chromium.org/174050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
These files will make it possible to start working with the 64-bit version on Windows. The GUID's of the x64 project files are the same as their ia32 counterparts, but that does not matter as they will never be used in the same solution. Added a temporary #error when building 64-bit version on Windows. Review URL: http://codereview.chromium.org/171111 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
During parsing functions are analyzed for statements of the form this.x = ...;. These assignments are categorized in two types: simple and non simple. The simple ones are where the right hand side is known to be either a constant or an argument to the function. If a function only contains statements of this type the property names are collected and for the simple assignments the index of the argument or the constant value assigned are stored as well. When the initial map for a function is created and the function consists of only this type of assignemnts the initial map is created with a descriptor array describing these properties which will be known to always exist in an object created from the function. The information on this property assignments is not collected during pre-parsing so if compiling using pre-parse data these optimization hints are not available. Next step will be to use the information collected for the simple assignments to generate constructor code which will create and initialize the object from this information without calling the code for the function. Review URL: http://codereview.chromium.org/172088 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2710 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Aug, 2009 8 commits
-
-
feng@chromium.org authored
Review URL: http://codereview.chromium.org/173003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/172089 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/171105 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Remove one of the GCs performed by the --gc-greedy flag. The GC performed by CEntryStub before the first call to C, when --gc-greedy is set, caused a bug in calling API callbacks. Review URL: http://codereview.chromium.org/171104 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
snapshot creation in a better way. Encode whether or not the stub should use sse3 instructions in the minor key of the stub. The stubs generated during snapshot creation will have sse3 disabled, but they will not be found when sse3 is enabled. Therefore they will only affect the code generated as part of the snapshot. Review URL: http://codereview.chromium.org/172086 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2705 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
The issue is that a shift operation is used when creating the snapshot. This means that the shift binary operation stub is generated at snapshot time without sse3 instructions. The fix is to use division instead. TBR=erik.corry@gmail.com git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
feng@chromium.org authored
Review URL: http://codereview.chromium.org/165403 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
feng@chromium.org authored
Original CL: http://codereview.chromium.org/171041 Review URL: http://codereview.chromium.org/171089 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Aug, 2009 9 commits
-
-
whesse@chromium.org authored
This cuts down on code size and reloc work. Review URL: http://codereview.chromium.org/171041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2701 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
Added Debug::GetMirror call to get a mirror for a given object. Review URL: http://codereview.chromium.org/172045 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2700 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
MSVS names '.map' file using only module's name, so both 'a.exe' and 'a.dll' will have 'a.map' file. To distinguish an originating module, we're now checking for image base which is always 00400000 for .exe files, and not 00400000 for .dlls. Verified that windows-tick-processor can now process logs from Chromium using .map file generated for 'chrome.dll', an that it still works for V8's 'shell.exe'. Review URL: http://codereview.chromium.org/172044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
Added TryCatch::StackTrace that gets the stack trace for the thrown exception. Review URL: http://codereview.chromium.org/171042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
Added Script::New calls that create a new context-independent (boilerplate) script which can be executed in any context, unlike the current scripts which bind the context in which they're compiled. Review URL: http://codereview.chromium.org/172043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
Fixed bug where regexps were not callable across contexts since the callable test used object identity on the regexp constructor. Changed typeof RegExp from 'object' to 'function' for compatibility. Review URL: http://codereview.chromium.org/171039 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
http://code.google.com/p/v8/issues/detail?id=420 Review URL: http://codereview.chromium.org/171038 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2695 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/165525 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
X64: Do not use an AllocateWithoutSpill register if it is invalid. Abandoned in favor of approach in http://codereview.chromium.org/165525/show (Issue 165526) Review URL: http://codereview.chromium.org/164480 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Aug, 2009 6 commits
-
-
deanm@chromium.org authored
Review URL: http://codereview.chromium.org/164498 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2692 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/164555 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2691 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/164552 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2690 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
It now includes the change to ARM and x64 architectures as well. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/165528 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/165443 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/165527 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2687 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Aug, 2009 4 commits
-
-
http://code.google.com/p/v8/source/detail?r=2670feng@chromium.org authored
Now we can pass '--expose_gc' to V8 in the layout test controller. This is probably a better option. Review URL: http://codereview.chromium.org/164520 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
bak@chromium.org authored
As a benefit, this eliminates an ifdef ARDROID. Review URL: http://codereview.chromium.org/165453 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
whesse@chromium.org authored
P.S. for reasons unknown the original change (2681), also by erikcorry, was attributed to Bill. Review URL: http://codereview.chromium.org/164479 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
Review URL: http://codereview.chromium.org/164476 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-