Comment #9 on issue 3907 by [email protected]: Allowing asm.js memory growth causes big slowdown
https://code.google.com/p/v8/issues/detail?id=3907

+1 to "use asm" including a version number.

TurboFan doesn't do validation of asm.js code at all. Instead it just applies general optimizations, and one of them is the constness of the closure bindings. "changeHeap" makes those array bindings mutable, so TurboFan compiles in the generic case, making access to the heap go through an IC, which is slow.

We've considered just detecting the mutable array bindings in the specific cases of asm modules and falling back to Crankshaft until TurboFan does better speculative optimizations. That solution is kind of ugly and would have to be ported back to 41 (and now 42). A version number would make that work unnecessary, since TurboFan would simply not trigger for the new version.



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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/d/optout.

Reply via email to