Open
Bug 580049
Opened 15 years ago
Updated 3 years ago
allow to disable or control DOM GC/CC heuristics for testing purposes
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: gal, Unassigned)
References
Details
No description provided.
| Reporter | ||
Comment 1•15 years ago
|
||
Currently the JS callback drives the CC heuristics. It should be possible to manipulate and in particular disable the heuristics for testing purposes.
Comment 2•15 years ago
|
||
What heuristics you're talking about?
User activity observer drives CC currently.
Adding some pref for testing should easy.
| Reporter | ||
Comment 3•15 years ago
|
||
This might have changed recently then. Either way, yes, exactly thats what we need to test this. Disable all the heuristics while we build up some garbage and then GC and CC as needed (I am about to land a patch that allows to explicitly trigger GC and CC separately).
Comment 4•15 years ago
|
||
Any movement here? This is blocking full development of the test described in in bug 572542.
| Reporter | ||
Comment 5•15 years ago
|
||
bent is working on this
Comment 6•15 years ago
|
||
Any update?
Oh, yikes. I've been off in the weeds, not sure when I can get back to this. Is this blocking you?
Comment 8•15 years ago
|
||
Yeah, the creation of the test is blocked on having the ability to switch on/off automatic memory management so that we can create a controlled test environment.
Comment 9•15 years ago
|
||
So what all needs the on/off switch? CC only? Also GC? Or CC and GC when triggered
by DOM code?
Comment 10•14 years ago
|
||
We would like to be able to disable CC + GC, load a bunch of things in browser and then force a CC or GC and observe how long it takes. So, mostly disable the default behavior and be able to create CC/GC requests in controlled situations so that they can be timed.
Comment 11•14 years ago
|
||
I don't know if it is possible to really disable gc.
Adding a pref to disable cc would be easy.
Comment 12•14 years ago
|
||
If GC occurs in a non-controlled fashion I doubt that we'll be able to get any reasonable numbers out of any CC/GC tests - since you'll never know if you just did a cleanup before requesting one.
Comment 13•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•