Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 0972acb54810
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: acd0df4ad90c
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 27, 2013

  1. buffer: fix Buffer::Copy regression from 00b4b7b

    If the end argument is omitted or not a number, make it default to
    the end of the buffer, not zero.
    
    Ideally, it should not matter what it defaults to because the JS shim
    in lib/buffer.js should handle that but there are still several places
    in node.js core that secrete SlowBuffers, hence Buffer::Copy() gets
    called without going through Buffer.prototype.copy() first.
    bnoordhuis committed Jan 27, 2013
    Copy the full SHA
    2e371b8 View commit details
    Browse the repository at this point in the history
  2. test: fix pummel test out-of-memory errors

    Fix the following OOM error in pummel/test-net-connect-memleak
    and pummel/test-tls-connect-memleak:
    
      FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of
      memory
    
    Commit v8/v8@91afd39 increases the size of the deoptimization table
    to the extent that a 64M float array pushes it over the brink. Switch
    to SMIs so it stays below the limit.
    
    pummel/test-net-connect-memleak is still failing albeit with a different
    error this time. Needs further investigation.
    
      === release test-net-connect-memleak ===
      Path: pummel/test-net-connect-memleak
      -64 kB reclaimed
      assert.js:102
        throw new assert.AssertionError({
              ^
      AssertionError: false == true
          at done [as _onTimeout] (/home/bnoordhuis/src/nodejs/master/
      test/pummel/test-net-connect-memleak.js:48:3)
          at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
          at process._makeCallback (node.js:306:20)
    bnoordhuis committed Jan 27, 2013
    Copy the full SHA
    acd0df4 View commit details
    Browse the repository at this point in the history