diff options
Diffstat (limited to 'src/space_test.cc')
-rw-r--r-- | src/space_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/space_test.cc b/src/space_test.cc index f377a6142c..c1c1dca895 100644 --- a/src/space_test.cc +++ b/src/space_test.cc @@ -70,6 +70,10 @@ TEST_F(SpaceTest, Init) { } } +// TODO: This test is not very good, we should improve it. +// The test should do more allocations before the creation of the ZygoteSpace, and then do +// allocations after the ZygoteSpace is created. The test should also do some GCs to ensure that +// the GC works with the ZygoteSpace. TEST_F(SpaceTest, ZygoteSpace) { AllocSpace* space(Space::CreateAllocSpace("test", 4 * MB, 16 * MB, 16 * MB, NULL)); ASSERT_TRUE(space != NULL); |