For WebCore JS wrappers, we're almost always root()'ed at the Document, which means that we're querying the SlotVisitor's opaque roots set for the same Document* over and over. On DoYouEvenBench, we're spending ~1.5% of time in JSNodeOwner::isReachableFromOpaqueRoots(). This optimization attempts to alleviate some of that.
Created attachment 226958 [details] Patch idea
Comment on attachment 226958 [details] Patch idea r=me
Comment on attachment 226958 [details] Patch idea Clearing flags on attachment: 226958 Committed r165796: <http://trac.webkit.org/changeset/165796>
All reviewed patches have been landed. Closing bug.