v8/test
lpy 04f710ac20 [Reland] Refactor CpuProfiler.
Currently CpuProfiler is a subclass of CodeEventListener, it listens code events
from Logger, constructs and stores CodeEventsContainer. This patch is part of
the effort to split the logic of CodeEventListener as ProfilerListener out of
the profiling functionality logic in CpuProfiler. A ProfilerListener will listen
to code events, construct code event to CodeEventsContainer and pass it to code
event handler.

The reason we refactor CpuProfiler is that eventually we want to move
CpuProfiler as part of sampler library and code event listener should stay
inside V8.

Main changes:
1. Refactored CpuProfiler into two parts, the CpuProfiler with profling
functionality and the ProfilerListener listening to code events from Logger.
2. Created CodeEventObserver and made CpuProfiler inherit from it.
ProfilerListener will have a list of observers and call CodeEventHandler once a
code event is created.
3. Moved code entry list from CodeEntry to ProfilerListener.

Minor changes:
1. Moved static code entry as part of CodeEntry.
2. Added ProfilerListener to Logger.

BUG=v8:4789

Committed: https://crrev.com/cb59fc1facc9b390e2c7544b4da56a4e0a9b3222
Review-Url: https://codereview.chromium.org/2053523003
Cr-Original-Commit-Position: refs/heads/master@{#37112}
Cr-Commit-Position: refs/heads/master@{#37195}
2016-06-22 16:45:51 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [Reland] Refactor CpuProfiler. 2016-06-22 16:45:51 +00:00
fuzzer [icu] Support loading data file from default location 2016-06-08 12:11:34 +00:00
intl Fix Intl*parsing tests and test status 2016-05-27 17:59:19 +00:00
js-perf-test [test] Fix result regexp in JSTests.json. 2016-06-06 09:07:33 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [test] Remove obsolete status file entries. 2016-05-30 13:22:51 +00:00
mjsunit Gender neutral comments. 2016-06-22 14:54:03 +00:00
mozilla [turbofan] Implement top-level lookup slot declaration. 2016-05-10 08:19:22 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
test262 Reland: change most cases of variable redeclaration from TypeError to SyntaxError. 2016-06-21 20:19:59 +00:00
unittests Use zig-zag encoding in the source position table. 2016-06-22 09:06:53 +00:00
webkit X87: Skip slow test. 2016-06-21 02:03:57 +00:00
bot_default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
bot_default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
BUILD.gn [gn] Port test262 archiving to gn 2016-06-06 08:56:58 +00:00
default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
ignition.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
ignition.isolate [testing] Extend interpreter testing to webkit suite. 2016-03-14 16:12:50 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00