Closed Bug 820682 Opened 13 years ago Closed 13 years ago

DMD: Tweak stress mode

Categories

(Core :: DMD, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
Tracking Status
firefox19 --- fixed
firefox20 --- fixed
b2g18 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(1 file)

The forthcoming patch tweaks stress mode: - Always run it with --sample-mode=1. - Dump the output. This gives greater coverage (e.g. it demonstrates if dumping is slow), and it's often useful to be able to see the memory stats.
patch
Attachment #691215 - Flags: review?(justin.lebar+bug)
Comment on attachment 691215 [details] [diff] [review] DMD: Tweak stress mode. >+// Note that fopen() can allocate. >+static FILE* >+OpenFile(const char* aFilename) Call this OpenFileTestMode or something? Maybe add an assertion that we don't call this in normal mode? >+{ >+ FILE* fp = fopen(aFilename, "w"); >+ if (!fp) { >+ StatusMsg("can't create test file %s: %s\n", aFilename, strerror(errno)); >+ exit(1); >+ } >+ return fp; >+}
Attachment #691215 - Flags: review?(justin.lebar+bug) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 691215 [details] [diff] [review] DMD: Tweak stress mode. [Triage Comment] DMD is npotb.
Attachment #691215 - Flags: approval-mozilla-b2g18+
Attachment #691215 - Flags: approval-mozilla-aurora+
Component: General → DMD
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: