On Tue, Sep 22, 2015 at 10:17 AM, Ignacio Queralt
<[email protected]> wrote:
> I've read online in a Google V8 presentation that there are the following
> states regarding IC:
> Uninitialized -> Pre-monomorphic -> Monomorphic -> Polymorphic/Megamorphic
> -> Generic
> How should I build an example, or which flag should I use to see the
> transitions between these states?

--trace_it prints that information.  An example from your first email:

  [LoadIC in ~+106 at native harmony-object.js:5 (0->.) 0x3cffdd234ac1
<String[6]: Object>]

The (0->.) lists the state transition from uninitialized to pre-monomorphic:

0 = uninitialized
. = pre-monomorphic
1 = monomorphic
P = polymorphic
N = megamorphic
G = generic
^ = prototype failure

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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