Reviewers: Vyacheslav Egorov,

Description:
Move aligned allocation to the platform files.

The Windows platform now don't assume that it can free part of a reservation.
Instead it first allocates a too large block, then frees it and tries to
allocate an aligned part of the block it just freed. It retries if a race
condition allowed someone else in the same procress to allocate the same block.

BUG=v8:1467


Please review this at http://codereview.chromium.org/7865025/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/gc

Affected files:
  M src/platform-linux.cc
  M src/platform-macos.cc
  M src/platform-win32.cc
  M src/platform.h
  M src/spaces.h
  M src/spaces.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to