Closed Bug 877473 Opened 8 years ago Closed 8 years ago
Expose generational GC knobs to the shell for fuzzing
Right now there isn't any way to interact directly with the GGC from the shell or to put it into edge states quickly.
This exposes |minorgc([overflow])| to the shell. It calls MinorGC and optionally calls setOverflowed on cx->runtime->gcStoreBuffer if [overflow] is set to true.
CallArgs::get returns UndefinedValue if the arg is not set, so there is no need to test before getting the arg.
Attachment #756071 - Flags: review?(wmccloskey) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
jsfunfuzz now calls minorgc occasionally. (fuzzing rev a32442460b40)
You need to log in before you can comment on or make changes to this bug.