You should be able to simulate code space fragmentation with regexps.

var re_source = "."; // Avoid atom regexp engine.
for (var i = 0; i < 1000000; i++) {
   re_source += "x";
   var re = new RegExp(re_source);
   "xxx".match(re);
}

https://codereview.chromium.org/742733002/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to