Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 4108a090598a8811d22ef8bd13a29bd490201e98..235d3e3b1b53ec8c9f78ff02caf47a873d69f740 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -25348,6 +25348,7 @@ class MemoryPressureThread : public v8::base::Thread { |
}; |
TEST(MemoryPressure) { |
+ if (v8::internal::FLAG_optimize_for_size) return; |
v8::Isolate* isolate = CcTest::isolate(); |
WeakCallCounter counter(1234); |