Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index d5e838ebe09618a6dbc3dcdd567d5d0136482cc2..7f35c0bd64cf42f4be3bbd6955da3b763a6fb63b 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -17066,6 +17066,14 @@ TEST(Regress2107) { |
CHECK_LT(final_size, initial_size + 1); |
} |
+ |
+TEST(Regress2333) { |
+ LocalContext env; |
+ for (int i = 0; i < 3; i++) { |
+ CcTest::heap()->PerformScavenge(); |
+ } |
+} |
+ |
static uint32_t* stack_limit; |
static void GetStackLimitCallback( |