Ben Noordhuis
202df30aab
build: disable unsafe optimizations
...
Compile at -O2 and disable optimizations that trigger gcc bugs.
Some people still reported mksnapshot crashes after commit b40f813
("build: fix
spurious mksnapshot crashes for good" - so much for that).
Average performance of the -O2 binary is on par with the -O3 binary. Variance
on the http_simple bytes/8 benchmark appears to be slightly greater but small
enough that the possibly of it being noise cannot be excluded.
The new binary very slightly but consistently outperforms the -O3 binary (by
about 0.5%) on the mostly CPU-bound bytes/102400 benchmark. That could be an
artifact of the system I benchmarked it on, a Core 2 Duo with a puny 32 kB of
L1 instruction cache. The smaller binary seems to play nicer with the cache.
2012-07-12 16:17:25 +02:00
Bert Belder
1c1ad9bcf4
v8: reapply floating patches
2012-07-07 23:45:02 +02:00
isaacs
5b5c8b6005
v8: Upgrade to 3.11.10.14
2012-07-07 23:45:00 +02:00
Bert Belder
f60def5e9a
v8: reapply floating patches
2012-06-26 02:03:49 +02:00
Bert Belder
74872b0dc9
v8: upgrade to version 3.11.10.12
2012-06-26 02:03:24 +02:00
Fedor Indutny
81a889fd88
v8: fix postmortem debugging tools build
2012-06-21 00:35:52 +02:00
Bert Belder
6b8ae8e66d
v8: reapply floating patches
2012-06-21 00:35:46 +02:00
Bert Belder
6b26583e84
v8: upgrade to v3.11.10.10
2012-06-21 00:33:44 +02:00
verwaest@chromium.org
8a6ef65c2c
Fixing bugs in promotion of elements transitions (r1175). - Fixed invalid memory access when reading enum-cache from descriptor array with elements transitions but 0 real descriptors. - Fixed infinite recursion in the intrusive map iterator when visiting elements transitions. - Properly cached non-fastmode elements transitions.
...
Review URL: https://chromiumcodereview.appspot.com/10565030
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11841 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-19 17:56:52 +02:00
jkummerow@chromium.org
7282ce9014
Remove unused-but-set variable from objects.cc.
...
This fixes compilation with newer GCCs.
R=erik.corry@gmail.com
Review URL: https://chromiumcodereview.appspot.com/10568006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-19 17:56:51 +02:00
erik.corry@gmail.com
f94b85db83
Revert part of 11727 as it sometimes tanked V8 benchmark (raytrace) performance for reasons that are not obvious. Now we make objects into fast-case objects when they are made prototypes for other objects, but we do not mark objects that are already fast case with a bit that helps keep them in fast case. Review URL: https://chromiumcodereview.appspot.com/10556004
...
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-19 17:56:50 +02:00
danno@chromium.org
bf682afb98
MIPS: Fix packed-element.js test on ARM with no snap
...
Port r11826 (5be3568a)
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10559002
Patch from Akos Palfi <palfia@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-19 17:56:49 +02:00
danno@chromium.org
00247d53db
Fix Kraken regression due to optimistic monomorphic element transitions
...
R=jkummerow@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10539141
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-15 00:40:35 +02:00
mstarzinger@chromium.org
c231321cd3
Fix assertion for map code cache of shared maps.
...
R=danno@chromium.org
TEST=mjsunit/compare-known-objects-slow
Review URL: https://chromiumcodereview.appspot.com/10548046
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-15 00:35:37 +02:00
isaacs
f70fa3bae6
v8: Replace 'echo -n' with 'echo' in build commands
2012-06-14 10:11:55 -07:00
yangguo@chromium.org
54b74b8e85
Remove faster ticks for debug mode.
...
This solves the problem that code runs very slow when the debugger is enabled.
BUG=v8:2179
TEST=
Review URL: https://chromiumcodereview.appspot.com/10544135
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-14 02:16:27 +02:00
Bert Belder
2701a6bd48
Unbreak the snapshotted build on Windows
...
The v8 team apparently decided that all build products should go
into ./build/«type», and updated their common.gypi file to do so.
Unfortunately v8's common.gypi is only used for some targets. All
the other targets would still look in the old place to find their
their dependencies, which effectively broke the build.
In the long run it would be good for node to send all build
output to ./build too, on all platforms.
2012-06-14 01:51:13 +02:00
Fedor Indutny
fac6c69456
v8: fix postmortem debugging tools build
2012-06-14 01:37:15 +02:00
Bert Belder
ac64c9e546
v8: reapply floating patches
...
Note that 26f754d9
('fix error handling in SendConnectMessage') is no
longer necessary; it was properly fixed upstream in V8 r11609.
2012-06-14 01:37:14 +02:00
mstarzinger@chromium.org
48893af7bb
Fix performance regression caused by r11202.
...
R=erik.corry@gmail.com
BUG=v8:2156,v8:2034
TEST=mjsunit/regress/regress-2156,mjsunit/regress/regress-2034
Review URL: https://chromiumcodereview.appspot.com/10539131
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-14 01:37:14 +02:00
Bert Belder
50464cd4f4
v8: upgrade to v3.11.10
2012-06-14 01:37:13 +02:00
Bert Belder
2301eb69b1
v8: force inlining of v8::internal::DescriptorArray methods
2012-06-11 21:24:29 +02:00
yangguo@chromium.org
33be3016fb
Force inlining CopyChars and String::Get.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10332054
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-06-11 21:24:27 +02:00
Ben Noordhuis
26f754d9dd
v8: debug: fix error handling in SendConnectMessage()
...
The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.
2012-06-09 08:10:03 -07:00
isaacs
c08357c32f
v8: Floating patches
2012-06-09 08:09:58 -07:00
isaacs
940a6863ea
Roll V8 back to 3.9.24.31
2012-06-09 08:09:42 -07:00
Bert Belder
5046f8501c
Revert "Unbreak the Windows build"
...
It is not needed for v8 3.10, and actually breaks the build.
This reverts commit bd33fea732
.
2012-06-08 20:46:34 +02:00
isaacs
0435f9b28c
v8: Don't use 'echo -n' in configure script
2012-06-07 17:54:22 -07:00
Bert Belder
bd33fea732
Unbreak the Windows build
...
The v8 team apparently decided that all build products should go
into ./build/«type», and updated their common.gypi file to do so.
Unfortunately v8's common.gypi is only used for some targets. All
the other targets would still look in the old place to find their
their dependencies, which effectively broke the build.
In the long run it would be good for node to send all build
output to ./build too, on all platforms.
Conflicts:
deps/v8/build/common.gypi
2012-06-07 17:54:22 -07:00
Ben Noordhuis
1fb9cfcdb1
v8: debug: fix error handling in SendConnectMessage()
...
The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.
2012-06-07 17:54:21 -07:00
isaacs
43ff46becf
v8: Floating patches
2012-06-07 17:54:21 -07:00
isaacs
46b09e4190
Roll V8 back to 3.10.8.13
2012-06-07 17:54:21 -07:00
isaacs
04e484c484
v8: Don't use 'echo -n' in configure script
2012-06-04 11:10:31 -07:00
Bert Belder
3b6a00b664
Unbreak the Windows build
...
The v8 team apparently decided that all build products should go
into ./build/«type», and updated their common.gypi file to do so.
Unfortunately v8's common.gypi is only used for some targets. All
the other targets would still look in the old place to find their
their dependencies, which effectively broke the build.
In the long run it would be good for node to send all build
output to ./build too, on all platforms.
2012-06-02 16:06:00 +02:00
Ben Noordhuis
eabf3c8d0f
v8: debug: fix error handling in SendConnectMessage()
...
The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.
2012-06-01 22:31:04 -07:00
isaacs
7946ad2634
v8: Floating patches
2012-06-01 22:31:04 -07:00
isaacs
cbdf3393a2
Upgrade v8 to 3.11.7
2012-06-01 22:31:04 -07:00
isaacs
3b95d88bf2
v8: s/echo -n/echo/. Not all sh's are bash.
2012-05-16 14:22:57 -07:00
isaacs
2cca7488bf
Patches floating on V8
2012-05-16 14:22:57 -07:00
isaacs
3f3f958c14
Upgrade V8 to 3.11.1
2012-05-16 14:22:33 -07:00
yangguo@chromium.org
29b2fdb0c5
Force inlining CopyChars and String::Get.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10332054
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-05-09 03:56:04 +02:00
isaacs
01d146c29f
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge
...
Conflicts:
ChangeLog
Makefile
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/man/man1/npm.1
deps/npm/man/man3/npm.3
deps/npm/package.json
doc/api/url.markdown
lib/http.js
src/node_version.h
test/simple/test-fs-sync-fd-leak.js
2012-05-04 15:12:47 -07:00
Ben Noordhuis
6b426a2edd
Revert "v8: fix "pure virtual method called" runtime error"
...
It makes mksnapshot die with a segmentation fault on sunos with gcc 4.5.2.
This reverts commit c21c51a6fc
.
2012-05-02 22:53:45 +00:00
Ben Noordhuis
48cdbffd24
v8: posix: try to send() whole buffer
...
Retry the send() syscall after a partial write.
2012-04-24 04:11:29 +02:00
Ben Noordhuis
ebfb8a5613
v8: posix: handle EINTR in socket functions
...
The socket functions did not handle EINTR (syscall interrupted by signal) which
tripped up the debug agent.
2012-04-24 04:11:22 +02:00
Ben Noordhuis
4359e8154d
v8: debug: fix error handling in SendConnectMessage()
...
The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.
2012-04-24 04:11:11 +02:00
Ben Noordhuis
c21c51a6fc
v8: fix "pure virtual method called" runtime error
...
Fixes #2912 .
2012-04-20 01:29:02 +02:00
Dane Springmeyer
e5b787e84d
deps: fix v8 build error
...
Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505
Missed in 5d69bbfbd
.
2012-04-18 21:15:09 +02:00
isaacs
6bb9868271
Reapply patches floating on V8
2012-04-18 09:36:44 -07:00
isaacs
6ed5ef5fe0
Upgrade V8 to 3.9.24.9
2012-04-18 09:36:44 -07:00