We got no response to this on the v8-users group, so we thought we'd try 
here.

"Our embedder has a custom v8::Platform implementation. In V8 10.6+, 
v8::Platform::GetPageAllocator is abstract, and no information is provided 
about how to implement it.

We're currently delegating GetPageAllocator to an instance of the default 
platform (created via v8::platform::NewDefaultPlatform). That seems to work 
but feels hacky. Before this we never had any reason to instantiate the 
default platform.

Is this an oversight? Most v8::Platform methods are relatively mundane – 
task scheduling, raw memory allocation, etc. – whereas v8::PageAllocator is 
quite esoteric, and many embedders would probably not know how to implement 
it."

Since that original post, we've run into a problem with the default 
platform (a deadlock at process shutdown on Windows 7 if the default 
platform is owned by a static object), so we're now patching V8 to expose 
v8::base::PageAllocator instead.

Any comments or recommendations from the V8 team?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/b5bf5bce-37ca-4cbf-bc1c-81d0f259e74en%40googlegroups.com.

Reply via email to