I have run into an issue described at
https://github.com/nodejs/node/issues/8670.
What is happening is that the GC keeps collecting map (hidden class) of a
function ("class") that is called not very often but always runs quite a
long time. As a result, the functions ends up being deoptimized and the
code runs up to 20 times slower.
Would it be possible to add some conditions/heuristics to the V8 garbage
collector to prevent this behaviour?
--
--
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.