4 ms·
> but the second was when V8 committed an incremental collector Did the chrome developers have to fix v8 for that one?
by agmcleod 12y ago
> but the second was when V8 committed an incremental collector
Did the chrome developers have to fix v8 for that one?
- joelgwebber 12y agoThis was a fairly obscure bug lurking in the DOM/API bindings. They have to do a bunch of wacky stuff to deal with the interactions between the V8 GC and the ref-counted native API objects. In this case, the TypedArray wrapper objects were implemented in such a way that allocating them would often trigger a full mark/sweep (which also, IIUC, contained the logic necessary to free up reference cycles in native objects pinned by V8). My understanding is that all that stuff is much better now, and much less likely to lead to such pathological behavior.