-
atwilson@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=29344 Reviewed by Eric Seidel. * fast/workers/resources/dedicated-worker-lifecycle.js: (runTests): Allocate objects on the stack to try to force a GC to eliminate flakiness. * fast/workers/resources/worker-util.js: (gc): Added an optional "forceAlloc" parameter which causes a more extensive stack-clobbering algorithm to be run. (waitUntilThreadCountMatches): Pass the forceAlloc flag to gc() to try to force unreferenced workers to get GC'd. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ac8b946a