I don't think this is testing the interesting case, i.e., triggering a gc in the
prologue/epilogue.
I think the test should do the following:
1. Create a full heap, e.g. new space
SimulateFullSpace(CcTest::heap()->new_space());
2. Allocate another object to trigger gc
3. Allocate an object in the prologue and epilogue which schould trigger another gc. Make sure that the prologue and epilogue are not reentrant, otherwise you
would end up in an infinite series of gcs.

https://codereview.chromium.org/177243012/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to