v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <testing.h>
Public Member Functions | |
OverrideEmbedderStackStateScope (HeapHandle &heap_handle, EmbedderStackState state) | |
~OverrideEmbedderStackStateScope () | |
OverrideEmbedderStackStateScope (const OverrideEmbedderStackStateScope &)=delete | |
OverrideEmbedderStackStateScope & | operator= (const OverrideEmbedderStackStateScope &)=delete |
Overrides the state of the stack with the provided value. Parameters passed to explicit garbage collection calls still take precedence. Must not be nested.
This scope is useful to make the garbage collector consider the stack when tasks that invoke garbage collection (through the provided platform) contain interesting pointers on its stack.
|
explicit |
Constructs a scoped object that automatically enters and leaves the scope.
heap_handle | The corresponding heap. |
|
delete |
|
delete |