[v8-dev] [v8] r2735 committed - Fix an ASSERT in the scanner....

2009-08-20 Thread codesite-noreply
Revision: 2735 Author: sgje...@chromium.org Date: Thu Aug 20 23:30:59 2009 Log: Fix an ASSERT in the scanner. The assert when performing a push back on a two byte string was wrong. Added a small regression test. Review URL: http://codereview.chromium.org/173116 http://code.google.com/p/v8/source

[v8-dev] Re: Fix an ASSERT in the scanner

2009-08-20 Thread sgjesse
http://codereview.chromium.org/173116/diff/1/4 File test/cctest/test-api.cc (right): http://codereview.chromium.org/173116/diff/1/4#newcode7159 Line 7159: const char *ascii_sources[] = { On 2009/08/20 11:33:09, Kasper Lund wrote: > const char * -> const char* Done. http://codereview.chromium.o

[v8-dev] Re: Do not finish GlobalHandles::PostGarbageCollectionProcessing if weak callback...

2009-08-20 Thread ager
http://codereview.chromium.org/174141/diff/1002/12 File src/global-handles.cc (right): http://codereview.chromium.org/174141/diff/1002/12#newcode279 Line 279: int time_stamp = 0; On 2009/08/21 05:58:16, Mads Ager wrote: > You could expose Heap::mc_count() instead of introducing a new variable fo

[v8-dev] Re: Do not finish GlobalHandles::PostGarbageCollectionProcessing if weak callback...

2009-08-20 Thread ager
LGTM. http://codereview.chromium.org/174141/diff/1002/12 File src/global-handles.cc (right): http://codereview.chromium.org/174141/diff/1002/12#newcode279 Line 279: int time_stamp = 0; You could expose Heap::mc_count() instead of introducing a new variable for this. http://codereview.chromium.

[v8-dev] [v8] r2734 committed - Enable -fstrict-aliasing in the GYP build of V8 for the Mac in Release...

2009-08-20 Thread codesite-noreply
Revision: 2734 Author: m...@chromium.org Date: Thu Aug 20 12:12:59 2009 Log: Enable -fstrict-aliasing in the GYP build of V8 for the Mac in Release mode. -fstrict-aliasing is enabled by mainline gcc at -O2 and higher, but in Apple gcc, it must be enabled explicitly. This results in a 1.5% impro

[v8-dev] Re: Enable -fstrict-aliasing in the GYP build of V8 for the Mac in Release mode

2009-08-20 Thread kasperl
LGTM. http://codereview.chromium.org/174154 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Enable -fstrict-aliasing in the GYP build of V8 for the Mac in Release mode

2009-08-20 Thread mark
Reviewers: Kasper Lund, Description: Enable -fstrict-aliasing in the GYP build of V8 for the Mac in Release mode. -fstrict-aliasing is enabled by mainline gcc at -O2 and higher, but in Apple gcc, it must be enabled explicitly. This results in a 1.5% improvement in V8 benchmark scores. This also

[v8-dev] Re: V8 AST output as a JSON string

2009-08-20 Thread Kevin Millikin
Hi Kevin, On Thu, Aug 20, 2009 at 8:28 PM, Kevin C wrote: > Do the V8 team have any ideas re: > - is the jsonML format V8 AST specific or can it be generic It is literally the V8 AST, so there are some V8-specific things in there. (We also rewrite some of the AST at parse time, so it doesn't

[v8-dev] V8 AST output as a JSON string

2009-08-20 Thread Kevin C
The idea of prototyping a 'standard' AST format in JSON was discussed at es-discuss: https://mail.mozilla.org/pipermail/es-discuss/2009-May/009231.html And jsonML was suggested. A sample: ["||", ["||", ["Id", "X"], ["Id", "Y"]], ["Id", "Z"]] I was about to start hacking V8

[v8-dev] Re: how to compile the cctest bits?

2009-08-20 Thread Stephan Beal
On Aug 20, 8:12 pm, Kasper Lund wrote: > You should be able to use the tools/test.py script. Let me know if you > need more information. step...@jareth:~/src/google/v8$ ./tools/test.py scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o ob

[v8-dev] Re: how to compile the cctest bits?

2009-08-20 Thread Kasper Lund
On Thu, Aug 20, 2009 at 8:01 PM, Stephan Beal wrote: > Hi, all! > > i'm REALLY interested in taking a dive into threading with v8, in the > hopes of implementing something like setTimeout() (and eventually > XMLHttpRequest, though i find it severely odd that the capitalize XML > but not HTTP). A d

[v8-dev] how to compile the cctest bits?

2009-08-20 Thread Stephan Beal
Hi, all! i'm REALLY interested in taking a dive into threading with v8, in the hopes of implementing something like setTimeout() (and eventually XMLHttpRequest, though i find it severely odd that the capitalize XML but not HTTP). A day or two ago someone mentioned (on this list) threading tests i

[v8-dev] Re: Add LowMemoryNotification to the API on Android platform....

2009-08-20 Thread feng
http://codereview.chromium.org/173016 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] [v8] r2733 committed - Don't use -fomit-frame-pointer to build Mac V8. The Chrome crash repo...

2009-08-20 Thread codesite-noreply
Revision: 2733 Author: m...@chromium.org Date: Thu Aug 20 07:48:52 2009 Log: Don't use -fomit-frame-pointer to build Mac V8. The Chrome crash reporting system can't currently process stacks produced by gcc -fomit-frame-pointer properly. The drawback outweighs the 2% performance improvement. O

[v8-dev] Re: Don't use -fomit-frame-pointer to build Mac V8

2009-08-20 Thread Mark Mentovai
kasp...@chromium.org wrote: > LGTM. Do we have feature request for the crash reporting system to be > able to handle this? If so, maybe we should add a note there about this > issue. There isn't a tracker, but a Breakpad contributor from Mozilla is currently working on it. Since they share the s

[v8-dev] Re: Don't use -fomit-frame-pointer to build Mac V8

2009-08-20 Thread kasperl
LGTM. Do we have feature request for the crash reporting system to be able to handle this? If so, maybe we should add a note there about this issue. http://codereview.chromium.org/173123 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://grou

[v8-dev] Don't use -fomit-frame-pointer to build Mac V8

2009-08-20 Thread mark
Reviewers: Kasper Lund, Description: Don't use -fomit-frame-pointer to build Mac V8. The Chrome crash reporting system can't currently process stacks produced by gcc -fomit-frame-pointer properly. The drawback outweighs the 2% performance improvement. Once the crash reporting system is able to

[v8-dev] Re: Do not finish GlobalHandles::PostGarbageCollectionProcessing if weak callback...

2009-08-20 Thread Anton Muhin
Mads, couple of funny observations. Actually, in debug mode ASSERT would be triggered if one would trigger heavyweight GC phase from another heavyweight GC (due to allow_allocation(false) in GC prologue). Alas, in release mode there is no checks. However, as we have this check already, maybe we

[v8-dev] Do not finish GlobalHandles::PostGarbageCollectionProcessing if weak callback...

2009-08-20 Thread antonm
Reviewers: Mads Ager, Description: Do not finish GlobalHandles::PostGarbageCollectionProcessing if weak callback triggered it already (it's not safe). Please review this at http://codereview.chromium.org/174141 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files:

[v8-dev] [v8] r2732 committed - Fix mozilla test expectations. Generating a huge error message can...

2009-08-20 Thread codesite-noreply
Revision: 2732 Author: a...@chromium.org Date: Thu Aug 20 04:45:18 2009 Log: Fix mozilla test expectations. Generating a huge error message can not time out of the 64-bit version because of the larger heap. Review URL: http://codereview.chromium.org/173118 http://code.google.com/p/v8/source/deta

[v8-dev] Re: Fix mozilla test expectations. Generating a huge error message can...

2009-08-20 Thread christian . plesner . hansen
Dong-dong-dynamohest! http://codereview.chromium.org/173118 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Fix mozilla test expectations. Generating a huge error message can...

2009-08-20 Thread ager
Reviewers: Christian Plesner Hansen, Description: Fix mozilla test expectations. Generating a huge error message can not time out of the 64-bit version because of the larger heap. Please review this at http://codereview.chromium.org/173118 SVN Base: http://v8.googlecode.com/svn/branches/bleed

[v8-dev] [v8] r2731 committed - Experimental change to omit frame pointers from V8 on Mac...

2009-08-20 Thread codesite-noreply
Revision: 2731 Author: kasp...@chromium.org Date: Thu Aug 20 04:37:56 2009 Log: Experimental change to omit frame pointers from V8 on Mac built through the v8.gyp file. The optimization flags for Mac and Linux (both gcc-based) builds are now much closer. Review URL: http://codereview.chromium.org/

[v8-dev] Re: Experimental change to omit frame pointers from V8 on Mac...

2009-08-20 Thread ager
LGTM, thanks! http://codereview.chromium.org/173117 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Re: Change some integer types to make the x64 Win32 platform happier.

2009-08-20 Thread ager
LGTM http://codereview.chromium.org/173115/diff/1/7 File src/objects-inl.h (right): http://codereview.chromium.org/173115/diff/1/7#newcode940 Line 940: int map_page_index = static_cast( How about putting all on the next line - I think that should fit? int map_page_index = static_cast((val

[v8-dev] Re: Fix an ASSERT in the scanner

2009-08-20 Thread kasperl
LGTM. http://codereview.chromium.org/173116/diff/1/4 File test/cctest/test-api.cc (right): http://codereview.chromium.org/173116/diff/1/4#newcode7159 Line 7159: const char *ascii_sources[] = { const char * -> const char* http://codereview.chromium.org/173116/diff/1/4#newcode7167 Line 7167: int

[v8-dev] Fix an ASSERT in the scanner

2009-08-20 Thread sgjesse
Reviewers: Kasper Lund, Description: Fix an ASSERT in the scanner. The assert when performing a push back on a two byte string was wrong. Added a small regression test. Please review this at http://codereview.chromium.org/173116 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

[v8-dev] Experimental change to omit frame pointers from V8 on Mac...

2009-08-20 Thread kasperl
Reviewers: Mads Ager, Description: Experimental change to omit frame pointers from V8 on Mac built through the v8.gyp file. The optimization flags for Mac and Linux (both gcc-based) builds are now much closer. Please review this at http://codereview.chromium.org/173117 SVN Base: http://v8.googl

[v8-dev] Re: X64: Set target machine for Visual Studio projects to x64.

2009-08-20 Thread sgjesse
LGTM http://codereview.chromium.org/174137 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] [v8] r2730 committed - Try compiling V8 for Mac with -O3 when using the v8.gyp file....

2009-08-20 Thread codesite-noreply
Revision: 2730 Author: kasp...@chromium.org Date: Thu Aug 20 04:13:51 2009 Log: Try compiling V8 for Mac with -O3 when using the v8.gyp file. Review URL: http://codereview.chromium.org/174138 http://code.google.com/p/v8/source/detail?r=2730 Modified: /branches/bleeding_edge/tools/gyp/v8.gyp ==

[v8-dev] Re: Try compiling V8 for Mac with -O3 when using the v8.gyp file.

2009-08-20 Thread ager
Yes, please! http://codereview.chromium.org/174138 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] X64: Set target machine for Visual Studio projects to x64.

2009-08-20 Thread whesse
Reviewers: Søren Gjesse, Description: X64: Set target machine for Visual Studio projects to x64. Please review this at http://codereview.chromium.org/174137 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M tools/visual_studio/d8_x64.vcproj M tools/v

[v8-dev] Change some integer types to make the x64 Win32 platform happier.

2009-08-20 Thread whesse
Reviewers: Mads Ager, Description: Change some integer types to make the x64 Win32 platform happier. Please review this at http://codereview.chromium.org/173115 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/objects-inl.h M src/objects.h M

[v8-dev] Try compiling V8 for Mac with -O3 when using the v8.gyp file.

2009-08-20 Thread kasperl
Reviewers: Mads Ager, Description: Try compiling V8 for Mac with -O3 when using the v8.gyp file. Please review this at http://codereview.chromium.org/174138 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M tools/gyp/v8.gyp Index: tools/gyp/v8.gyp ==

[v8-dev] [v8] r2729 committed - Fix a test that test out of memory situations. On the 64-bit port the...

2009-08-20 Thread codesite-noreply
Revision: 2729 Author: a...@chromium.org Date: Thu Aug 20 03:32:11 2009 Log: Fix a test that test out of memory situations. On the 64-bit port the test did not actually run out of memory which the test treats as an error. Review URL: http://codereview.chromium.org/174136 http://code.google.com/p

[v8-dev] Re: Fix a test that test out of memory situations. On the 64-bit port the...

2009-08-20 Thread christian . plesner . hansen
Lgtm! http://codereview.chromium.org/174136 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Fix a test that test out of memory situations. On the 64-bit port the...

2009-08-20 Thread ager
Reviewers: Christian Plesner Hansen, Description: Fix a test that test out of memory situations. On the 64-bit port the test did not actually run out of memory which the test treats as an error. Please review this at http://codereview.chromium.org/174136 SVN Base: http://v8.googlecode.com/svn

[v8-dev] [v8] r2728 committed - Go back to doubling the size when growing new space....

2009-08-20 Thread codesite-noreply
Revision: 2728 Author: a...@chromium.org Date: Thu Aug 20 01:12:30 2009 Log: Go back to doubling the size when growing new space. Our memory tests show little improvement by only growing by 50%. Review URL: http://codereview.chromium.org/174133 http://code.google.com/p/v8/source/detail?r=2728 M

[v8-dev] Re: Go back to doubling the size when growing new space....

2009-08-20 Thread kasperl
LGTM. Beautiful. http://codereview.chromium.org/174133 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Re: Fix a build error.

2009-08-20 Thread whesse
I committed this, because we really want to see the effect on performance. http://codereview.chromium.org/173103 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~

[v8-dev] [v8] r2727 committed - Fix build error

2009-08-20 Thread codesite-noreply
Revision: 2727 Author: whe...@chromium.org Date: Thu Aug 20 01:08:18 2009 Log: Fix build error http://code.google.com/p/v8/source/detail?r=2727 Modified: /branches/bleeding_edge/src/heap.cc === --- /branches/bleeding_edge/src/heap.cc Wed Aug 19 17:07:19 2009

[v8-dev] Go back to doubling the size when growing new space....

2009-08-20 Thread ager
Reviewers: Kasper Lund, Description: Go back to doubling the size when growing new space. Our memory tests show little improvement by only growing by 50%. Please review this at http://codereview.chromium.org/174133 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files

[v8-dev] Re: - Added simple memory reduction behavior for IdleNotification....

2009-08-20 Thread ager
On 2009/08/20 07:20:25, Kasper Lund wrote: > http://codereview.chromium.org/165448/diff/1/5 > File src/v8.cc (right): > http://codereview.chromium.org/165448/diff/1/5#newcode158 > Line 158: > Two newlines between function definitions? I will fix this one. http://codereview.chromium.org/165448

[v8-dev] Re: fta (from Ubuntu) reported a build failure when building v8 with GCC 4.4:...

2009-08-20 Thread ager
Landed in bleeding_edge revision 2726. http://codereview.chromium.org/174005 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] [v8] r2726 committed - Land patch by a...@chromium.org to hopefully fix build failure on...

2009-08-20 Thread codesite-noreply
Revision: 2726 Author: a...@chromium.org Date: Thu Aug 20 00:41:46 2009 Log: Land patch by a...@chromium.org to hopefully fix build failure on Ubuntu with GCC 4.4. Review URL: http://codereview.chromium.org/174005 http://code.google.com/p/v8/source/detail?r=2726 Modified: /branches/bleeding_e

[v8-dev] Re: fta (from Ubuntu) reported a build failure when building v8 with GCC 4.4:...

2009-08-20 Thread ager
LGTM I will land this patch. http://codereview.chromium.org/174005 --~--~-~--~~~---~--~~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~--~~~~--~~--~--~---

[v8-dev] Re: - Added simple memory reduction behavior for IdleNotification....

2009-08-20 Thread kasperl
http://codereview.chromium.org/165448/diff/1/5 File src/v8.cc (right): http://codereview.chromium.org/165448/diff/1/5#newcode158 Line 158: Two newlines between function definitions? http://codereview.chromium.org/165448 --~--~-~--~~~---~--~~ v8-dev mailing list