Skip to content

Commit fb97201

Browse files
Test: Double SMALL_CLEAR_SIZE
1 parent 5699702 commit fb97201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Jsrt/Jsrt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ CHAKRA_API JsGarbageCollectionClearStack()
479479
{
480480
// https://github.com/bdwgc/bdwgc/blob/e1042aa86d9403f433a2ab38ee2aab081984fca8/misc.c#L260-L285
481481

482-
const int SMALL_CLEAR_SIZE = 256;
482+
const int SMALL_CLEAR_SIZE = 256 * 2;
483483
volatile void *dummy[SMALL_CLEAR_SIZE];
484484
memset((void *)dummy, 0, sizeof(dummy));
485485
return JsNoError;

0 commit comments

Comments
 (0)