Status: New
Owner: ----
CC: [email protected]
Labels: Type-Bug Priority-Medium
New issue 3605 by [email protected]: TypeFeedbackInfo somehow getting more
than 100% of ICs with typeinfo
https://code.google.com/p/v8/issues/detail?id=3605
Unfortunately I haven't yet put together a small repro, but I do have one
using Polymer's observe-js library.
Repro steps:
$ git clone git://github.com/Polymer/observe-js
Cloning into 'observe-js'...
remote: Counting objects: 1485, done.
remote: Total 1485 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1485/1485), 694.62 KiB | 326.00 KiB/s, done.
Resolving deltas: 100% (851/851), done.
Checking connectivity... done.
$ cd observe-js/benchmark
$ /src/v8/out/x64.release/d8 \
--trace-opt \
--allow-natives-syntax \
../src/observe.js \
benchmark.js \
observation_benchmark.js \
d8_benchmarks.js | grep 'marking.*(1[^0][^0]%)'
[marking 0x14618e6b551 <JS Function ObjectInfoGetOrCreate
(SharedFunctionInfo 0x14618e20399)> for recompilation, reason: small
function, ICs with typeinfo: 11/8 (137%), generic ICs: 0/8 (0%)]
[marking 0x14618e71c69 <JS Function ObjectInfoAddObserver
(SharedFunctionInfo 0x14618e20849)> for recompilation, reason: small
function, ICs with typeinfo: 15/13 (115%), generic ICs: 0/13 (0%)]
[marking 0x14618e6b551 <JS Function ObjectInfoGetOrCreate
(SharedFunctionInfo 0x14618e20399)> for recompilation, reason: small
function, ICs with typeinfo: 11/8 (137%), generic ICs: 0/8 (0%)]
[marking 0x14618e6ab09 <JS Function ObjectInfoRemoveObserver
(SharedFunctionInfo 0x14618e20909)> for recompilation, reason: small
function, ICs with typeinfo: 19/17 (111%), generic ICs: 0/17 (0%)]
[marking 0x14618e71c69 <JS Function ObjectInfoAddObserver
(SharedFunctionInfo 0x14618e20849)> for recompilation, reason: small
function, ICs with typeinfo: 18/13 (138%), generic ICs: 1/13 (7%)]
[marking 0x14618e745d1 <JS Function GetPendingObservers (SharedFunctionInfo
0x14618e1f959)> for recompilation, reason: small function, ICs with
typeinfo: 4/3 (133%), generic ICs: 0/3 (0%)]
[marking 0x14618e71001 <JS Function ObserveMicrotaskRunner
(SharedFunctionInfo 0x14618e21e49)> for recompilation, reason: small
function, ICs with typeinfo: 9/8 (112%), generic ICs: 1/8 (12%)]
[marking 0x14618e75c99 <JS Function SetPendingObservers (SharedFunctionInfo
0x14618e1fa01)> for recompilation, reason: small function, ICs with
typeinfo: 4/3 (133%), generic ICs: 0/3 (0%)]
[marking 0x14618e73d71 <JS Function TypeMapCreateFromList
(SharedFunctionInfo 0x14618e1feb1)> for recompilation, reason: small
function, ICs with typeinfo: 11/7 (157%), generic ICs: 0/7 (0%)]
[marking 0x14618e76389 <JS Function ObjectInfoAddPerformingType
(SharedFunctionInfo 0x14618e20a89)> for recompilation, reason: small
function, ICs with typeinfo: 13/11 (118%), generic ICs: 0/11 (0%)]
[marking 0x14618e683a9 <JS Function ObjectInfoRemovePerformingType
(SharedFunctionInfo 0x14618e20b39)> for recompilation, reason: small
function, ICs with typeinfo: 7/6 (116%), generic ICs: 0/6 (0%)]
[marking 0x14618e72301 <JS Function EnqueueSpliceRecord (SharedFunctionInfo
0x14618e21781)> for recompilation, reason: small function, ICs with
typeinfo: 21/16 (131%), generic ICs: 0/16 (0%)]
[marking 0x1a8367e75ad9 <JS Function BenchmarkRunner.runOne
(SharedFunctionInfo 0x14618e84f19)> for recompilation, reason: small
function, ICs with typeinfo: 12/9 (133%), generic ICs: 0/9 (0%)]
Almost all of these are V8 native JS functions, but I've also seen this
with author code (as BenchmarkRunner.runOne is here).
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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.