0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/cctest
Matt Loring 9e08695f85
src: Node implementation of v8::Platform
Node.js currently uses the V8 implementation of the DefaultPlatform
which schedules VM tasks on a V8 managed thread pool. Since the Node.js
event loop is not aware of these tasks, the Node.js process may exit
while there are outstanding VM tasks. This will become problematic once
asynchronous wasm compilation lands in V8.

This PR introduces a Node.js specific implementation of the v8::Platform
on top of libuv so that the event loop is aware of outstanding VM tasks.

PR-URL: https://github.com/nodejs/node/pull/14001
Fixes: https://github.com/nodejs/node/issues/3665
Fixes: https://github.com/nodejs/node/issues/8496
Fixes: https://github.com/nodejs/node/issues/12980
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2017-08-17 20:26:55 +02:00
..
node_test_fixture.h src: Node implementation of v8::Platform 2017-08-17 20:26:55 +02:00
test_base64.cc test: add basic cctest for base64.h 2017-04-08 11:57:40 +03:00
test_environment.cc src: Node implementation of v8::Platform 2017-08-17 20:26:55 +02:00
test_inspector_socket_server.cc src: replace ASSERT with CHECK 2017-07-27 17:11:08 +02:00
test_inspector_socket.cc src: replace ASSERT with CHECK 2017-07-27 17:11:08 +02:00
test_url.cc src: avoid dereference without existence check 2017-08-06 15:10:59 +08:00
test_util.cc build: enable cctest to use generated objects 2017-03-24 08:28:43 -07:00