- Nov 01, 2012
-
-
Frederico Silva authored
-
- Oct 31, 2012
-
-
J. Lee Coltrane authored
`url.format` should escape ? and # chars in pathname, and # chars in search, because they change the semantics of the operation otherwise. Don't escape % chars, or anything else. (see: #4082)
-
- Oct 30, 2012
-
-
Brandon Philips authored
onclose was never attached to 'end' so this call to remove this listener is useless. Delete it.
-
Ben Noordhuis authored
Inform V8 that the zlib context object is tied to a large off-heap buffer. This makes the GC run more often (in theory) and improves the accuracy of --trace_external_memory.
-
Ben Noordhuis authored
In zlibBuffer(), don't wait for the garbage collector to reclaim the zlib memory but release it manually. Reduces memory consumption by a factor of 10 or more with some workloads. Test case: function f() { require('zlib').deflate('xxx', g); } function g() { setTimeout(f, 5); } f(); Observe RSS memory usage with and without this commit. After 10,000 iterations, RSS stabilizes at ~35 MB with this commit. Without, RSS is over 300 MB and keeps growing. Cause: whenever the JS object heap hits the high-water mark, the V8 GC sweeps it clean, then tries to grow it in order to avoid more sweeps in the near future. Rule of thumb: the bigger the JS heap, the lazier the GC can be. A side effect of a bigger heap is that objects now live longer. This is harmless in general but it affects zlib context objects because those are tied to large buffers that live outside the JS heap, on the order of 16K per context object. Ergo, don't wait for the GC to reclaim the memory - it may take a long time. Fixes #4172. -
isaacs authored
-
- Oct 29, 2012
-
-
Scott Blomquist authored
The gyp target node_etw didn't list its output dependencies. This was causing virgin builds to fail with a "failed to open file for write" error. With this corrected outputs list, gyp reliably pre-creates required output directories.
-
- Oct 25, 2012
-
-
Ben Noordhuis authored
Conflicts: configure deps/v8/build/common.gypi
-
Ben Noordhuis authored
Remove compiler switches from $(TOPLEVEL)/deps/v8/build/common.gypi, we set them globally in $(TOPLEVEL)/common.gypi. Commit 29d12c73 accidentally reintroduced the switches again. In particular, the 'cflags!': ['-O2','-Os'] section forced building V8 without any optimizations, resulting in a steep (~66%) performance drop on some benchmarks. Fixes #4191.
-
Ben Noordhuis authored
Turns on -O3 and other optimizations that may produce buggy code with some toolchains. Use at your own risk.
-
Ben Noordhuis authored
Allow hostnames like '-lovemonsterz.tumblr.com' and '_jabber._tcp.google.com'. Fixes #4177.
-
Bert Belder authored
Patch sent upstream: http://codereview.chromium.org/10829109/
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* V8: Upgrade to 3.13.7.4 * crypto: Default to buffers instead of binary strings (isaacs, Fedor Indutny) * crypto: add getHashes() and getCiphers() (Ben Noordhuis) * unix: add custom thread pool, remove libeio (Ben Noordhuis) * util: make `inspect()` accept an "options" argument (Nathan Rajlich) * https: fix renegotation attack protection (Ben Noordhuis) * cluster: make 'listening' handler see actual port (Aaditya Bhatia) * windows: use USERPROFILE to get the user's home dir (Bert Belder) * path: add platform specific path delimiter (Paul Serby) * http: add response.headersSent property (Pavel Lang) * child_process: make .fork()'d child auto-exit (Ben Noordhuis) * events: add 'removeListener' event (Ben Noordhuis) * string_decoder: Add 'end' method, do base64 properly (isaacs) * buffer: include encoding value in exception when invalid (Ricky Ng-Adam) * http: make http.ServerResponse no longer emit 'end' (isaacs) * streams: fix pipe is destructed by 'end'...
-
isaacs authored
-
- Oct 24, 2012
-
-
Ben Noordhuis authored
Forgotten in the switch to buffers as the default output in 3570f209. Fixes #4188.
-
Bert Belder authored
Solves #4178, but does not fix the underlying issue
-
Bert Belder authored
Solves #4178, but does not fix the underlying issue
-
Olivier Lalonde authored
-
isaacs authored
Conflicts: deps/v8/src/arm/code-stubs-arm.cc deps/v8/src/version.cc
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
This is a flag to make it easier for users to upgrade through the breaking crypto change, and easier for us to switch it back if it's a problem. Explicitly set default encoding to 'buffer' in other tests, in case it ever changes back.
-
isaacs authored
-
isaacs authored
-
isaacs authored
crypto: Hash and Hmac default to buffers crypto: Move Cipher encoding logic to JS crypto: Move Cipheriv encoding logic to JS crypto: Move Decipher encoding logic to JS crypto: Move Decipheriv into JS, default to buffers crypto: Move Sign class to JS crypto: Better encoding handling in Hash.update crypto: Move Verify class to JS crypto: Move DiffieHellman to JS, default to buffers crypto: Move DiffieHellmanGroup to JS, default to buffers Also, create a test for this feature
-
- Oct 23, 2012
-
-
Ben Noordhuis authored
Note that you need to start node with --gdbjit for it to become effective.
-
mstarzinger@chromium.org authored
R=ulan@chromium.org BUG=v8:1804 Review URL: https://codereview.chromium.org/11022007 This is a back-port of upstream commits 12679, 12686 and 12738.
-
isaacs authored
-