DescriptionMake counter and histogram related callbacks part of the Isolate::CreateParams.
Some native counters (e.g. KeyedLoadGenericSlow) are referenced from stubs that are generated very early in the Isolate lifecycle before v8::Isolate::New returns. Thus counter lookup callback also needs to be installed early prior to v8::internal::Isolate::Init call. Otherwise assembler will just assume that the counter is not enabled and produce no code from IncrementCounter - because address of the counter is not yet available.
Histogram related callbacks are moved for consistency to make them able to collect samples which occur at isolate initialization time.
BUG=
Committed: https://crrev.com/0e024449b8322f99534c1901ac6acc6611ddcb1d
Cr-Commit-Position: refs/heads/master@{#27262}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|