Re: [v8-users] Why element kind transition can't cause the cache to miss

2017-09-06 Thread 刘深荣
This is excellent. Thank you very much for taking the time to answer On Wed, Sep 6, 2017 at 3:56 PM, Toon Verwaest wrote: > The article is a bit confused about multiple things within V8, so I > wouldn't rely on it as a source to correctly understand how V8 works in > detail. E.g., also the first

Re: [v8-users] Why element kind transition can't cause the cache to miss

2017-09-06 Thread Toon Verwaest
The article is a bit confused about multiple things within V8, so I wouldn't rely on it as a source to correctly understand how V8 works in detail. E.g., also the first sentence explaining what "stable maps" are is plainly wrong. Stable maps are maps from which we've never seen an instance transiti

Re: [v8-users] Why element kind transition can't cause the cache to miss

2017-09-05 Thread Jakob Kummerow
Well, as you said, that article is talking about a bug, so the answer to the question "why did that happen?" is "because there was a bug". Elements kind transitions are regular map transitions (the article seems to be a bit confused about that), and do cause inline cache misses (and other map chec

Re: [v8-users] Why element kind transition can't cause the cache to miss

2017-09-05 Thread cyril
I have read an article about V8's bug , the author wrote > What happens is this: First, a function is reduced in a way that makes it > change the elements kind of a stable map. Next, a second function is > reduced in a way that simply stores / loads a property in the same stable > map. Now, an

Re: [v8-users] Why element kind transition can't cause the cache to miss

2017-09-05 Thread Jakob Kummerow
What cache are you talking about? Different elements kinds do cause inline cache misses. On Tue, Sep 5, 2017 at 3:08 AM, cyril wrote: > Hi all, > > Why element kind transition can't cause the cache to miss? > > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google

[v8-users] Why element kind transition can't cause the cache to miss

2017-09-05 Thread cyril
Hi all, Why element kind transition can't cause the cache to miss? -- -- v8-users mailing list v8-users@googlegroups.com 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