We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SMALL_CLEAR_SIZE
1 parent 5699702 commit fb97201Copy full SHA for fb97201
lib/Jsrt/Jsrt.cpp
@@ -479,7 +479,7 @@ CHAKRA_API JsGarbageCollectionClearStack()
479
{
480
// https://github.com/bdwgc/bdwgc/blob/e1042aa86d9403f433a2ab38ee2aab081984fca8/misc.c#L260-L285
481
482
- const int SMALL_CLEAR_SIZE = 256;
+ const int SMALL_CLEAR_SIZE = 256 * 2;
483
volatile void *dummy[SMALL_CLEAR_SIZE];
484
memset((void *)dummy, 0, sizeof(dummy));
485
return JsNoError;
0 commit comments