Add a UseCounter for Object.observe
authoradamk <adamk@chromium.org>
Tue, 31 Mar 2015 23:03:08 +0000 (16:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 31 Mar 2015 23:03:19 +0000 (23:03 +0000)
commit729b85ae8678ebd998a0e5f254817683198d0610
tree6fbe1628958e2eb88d614aedb65592b009e7faad
parenteb982a1bb15b694ab8992ebe62c44ffa6ae9c50d
Add a UseCounter for Object.observe

It triggers once per context that calls observe (or attempts to access
any observation metadata, e.g. through Object.getNotifier).

Review URL: https://codereview.chromium.org/1048213002

Cr-Commit-Position: refs/heads/master@{#27557}
include/v8.h
src/runtime/runtime-observe.cc
test/cctest/test-object-observe.cc