Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: third_party/WebKit/LayoutTests/resources/observeGC.js

Issue 1950613005: Fixes tests that use internals.observeGC to work with Ignition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes comments and fixes more tests. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Returns a GCObservation object for the object returned by the
rmcilroy 2016/05/13 11:21:08 Add copyright notice.
mythria 2016/05/16 09:27:57 As discussed offline. We don't need it here.
2 // getObjectToObserve function. This is intended to help in observing if a GC
3 // has succesfully collected the object. When using interpreter (--ignition
4 // flag), dead registers are not cleared. The object that is passed to observeGC
5 // might be held in a dead register, preventing GC from collecting it. To avoid
rmcilroy 2016/05/13 11:21:08 The "register" terminology is to technical to unde
mythria 2016/05/16 09:27:57 Done.
6 // this, a function that returns the object is passed as a parameter instead of
7 // the object itself. Registers are released on function return.
8 function observeGC(getObjectToObserve) {
9 return internals.observeGC(getObjectToObserve());
10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698