Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f8a7df20c6a6fc178a6d8a25f8cf12afad2c9691..11aee2e36b69aa2be6966f54e481639282df49ea 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5089,6 +5089,16 @@ TEST(Regress442710) { |
} |
+TEST(NumberStringCacheSize) { |
+ CcTest::InitializeVM(); |
+ Isolate* isolate = CcTest::i_isolate(); |
+ Heap* heap = isolate->heap(); |
+ // Test that the number-string cache has not been resized. |
+ CHECK_EQ(TestHeap::kInitialNumberStringCacheSize * 2, |
+ heap->number_string_cache()->length()); |
+} |
+ |
+ |
#ifdef DEBUG |
TEST(PathTracer) { |
CcTest::InitializeVM(); |