DescriptionDrop OS::IsOutsideAllocatedSpace() and move the tracking to the MemoryAllocator.
Instead of globally tracking allocated space limits, which was
not implemented properly anyway (i.e. lack of synchronization
on the reading side), track it per MemoryAllocator (that is
per heap/isolate).
In particular, avoid to call IsBadWritePtr() on Windows, it is
obsolete and Microsoft strongly discourages its usage.
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=16542
Patch Set 1 #
Total comments: 6
Patch Set 2 : Get rid of OS::TearDown. #Patch Set 3 : Address allows for byte-based arithmetic. #Patch Set 4 : Drop debugging leftover. #Patch Set 5 : Fix invalid calculation of committed memory boundaries. #
Messages
Total messages: 4 (0 generated)
|