aboutsummaryrefslogtreecommitdiff
path: root/test/message/console_low_stack_space.out
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2016-05-20 23:11:27 +0200
committerAnna Henningsen <anna@addaleax.net>2016-05-24 17:03:22 +0200
commitdab09877b09046a862cb3537e8bc0b7a2a99f804 (patch)
tree2f3236bb6ff159fec8dcb0d4c37308d570939d78 /test/message/console_low_stack_space.out
parent4bd410bbbe2863da0baa36b9373d6b1491773102 (diff)
downloadandroid-node-v8-dab09877b09046a862cb3537e8bc0b7a2a99f804.tar.gz
android-node-v8-dab09877b09046a862cb3537e8bc0b7a2a99f804.tar.bz2
android-node-v8-dab09877b09046a862cb3537e8bc0b7a2a99f804.zip
module: don't cache uninitialized builtins
Don't cache the exported values of fully uninitialized builtins. This works by adding an additional `loading` flag that is only active during initial loading of an internal module and checking that either the module is fully loaded or is in that state before using its cached value. This has the effect that builtins modules which could not be loaded (e.g. because compilation failed due to missing stack space) can be loaded at a later point. Fixes: https://github.com/nodejs/node/issues/6899 PR-URL: https://github.com/nodejs/node/pull/6907 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/message/console_low_stack_space.out')
-rw-r--r--test/message/console_low_stack_space.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/message/console_low_stack_space.out b/test/message/console_low_stack_space.out
new file mode 100644
index 0000000000..8ab686eafe
--- /dev/null
+++ b/test/message/console_low_stack_space.out
@@ -0,0 +1 @@
+Hello, World!