Closed Bug 1116821 Opened 9 years ago Closed 8 years ago

Don't PokeGC in SetNewDocument

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

Olli said this probably isn't needed.
This was smaug's idea, so I probably shouldn't have him review. ;)

try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5d619be17e91
Attachment #8543325 - Flags: review?(peterv)
Comment on attachment 8543325 [details] [diff] [review]
Don't PokeGC in SetNewDocument.

Looks like the GC there is super old code,
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/dom/src/base/nsGlobalWindow.cpp&rev=1.1&root=/cvsroot

Search for ::SetNewDocument
(blame/marking doesn't seem to be able to deal with that file properly)
Comment on attachment 8543325 [details] [diff] [review]
Don't PokeGC in SetNewDocument.

Well, you could then review your own patch if the idea was mine ;)
Attachment #8543325 - Flags: review?(peterv) → review+
Yeah, I guess.  When I was testing this it looked like any time we were doing a poke for SetNewDocument, we were getting a poke for a bunch of other things so it should be okay in any event.
Looks like this wasn't the cause of the orange (though it certainly could have been):
  https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=c40fb1a889b9
I'm just going to close this for now. There's probably not a lot of value in tiny GC heuristic adjustments like this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: