danno, thanks for your review.

The main reason that I did not pass through a flag to prevent committing the
executable pages is that MemoryChunk only works after the memory is committed.
So for the reservation, I returned the reserved address and size, and when
committing, I commit the reserved memory first and then returned initialized
MemoryChunk which will be used when disposing. We might need to a new interface
other than MemoryChunk to reserve memory first and then commit later. I am
reading the source codes to see how to create such an interface and how to
manage it in the V8 memory system.

https://codereview.chromium.org/11566011/

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

Reply via email to