Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f8757e1c0cf97899902a0df831205d00bdd15af0..b3058f764d83331c10a7f3e7589982c0b3d2333c 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3036,6 +3036,11 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) { |
TEST(ReleaseStackTraceData) { |
+ if (i::FLAG_always_opt) { |
+ // TODO(ulan): Remove this once the memory leak via code_next_link is fixed. |
+ // See: https://codereview.chromium.org/181833004/ |
+ return; |
+ } |
FLAG_use_ic = false; // ICs retain objects. |
FLAG_concurrent_recompilation = false; |
CcTest::InitializeVM(); |