Anyone have any idea why, in v8, a function that does `foo[bar]` on an identical (identity) object would go megamorphic?
@mraleph The assumption was based on getting the "optimized too many times" error in the profiler.
-
-
@wycats ... it's just means V8's optimizations do not stabilize - often this means a bug in V8 itself -
@mraleph Interesting. I'll try again on beta and try to use IRHydra more to investigate more deeply. -
@wycats ping me if you have any questions either here or me@mrale.ph I'll be away this evening but I'll reply as soon as I am back. -
@mraleph thanks for pointing me to IRHydra. It's very very helpful. -
@wycats yay, I am glad it helps! [DevTools folks recently started working on surfacing similar deopt data right in their UI.] -
-
@RReverser@wycats star https://code.google.com/p/chromium/issues/detail?id=452067 … to track the progress
End of conversation
New conversation -
-
-
@wycats yeah, that's precisely how the bug I described manifests. "optimized too many times" is not a direct indication of megamorphismThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.