Reviewers: Hannes Payer,
Message:
PTAL, thx!
Description:
Turn off GcStress for another mjsunit test that asserts heavily on array
ElementsKind.
BUG=
Please review this at https://codereview.chromium.org/23983041/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+5, -0 lines):
M test/mjsunit/osr-elements-kind.js
Index: test/mjsunit/osr-elements-kind.js
diff --git a/test/mjsunit/osr-elements-kind.js
b/test/mjsunit/osr-elements-kind.js
index
6d3c8176afc91333ec354c0565d894f4ec342b3c..8d4337732177a5e2afd5ee942cc3bb017e12715f
100644
--- a/test/mjsunit/osr-elements-kind.js
+++ b/test/mjsunit/osr-elements-kind.js
@@ -40,6 +40,11 @@
// in this test case. Depending on whether smi-only arrays are actually
// enabled, this test takes the appropriate code path to check smi-only
arrays.
+// Reset the GC stress mode to be off. Needed because AllocationMementos
only
+// live for one gc, so a gc that happens in certain fragile areas of the
test
+// can break assumptions.
+%SetFlags("--gc-interval=-1")
+
support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8));
if (support_smi_only_arrays) {
--
--
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.