Closed
Bug 820682
Opened 13 years ago
Closed 13 years ago
DMD: Tweak stress mode
Categories
(Core :: DMD, defect)
Core
DMD
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(1 file)
5.04 KB,
patch
|
justin.lebar+bug
:
review+
justin.lebar+bug
:
approval-mozilla-aurora+
justin.lebar+bug
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
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.
Comment 2•13 years ago
|
||
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+
![]() |
Assignee | |
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 5•13 years ago
|
||
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+
Comment 6•13 years ago
|
||
![]() |
Assignee | |
Updated•13 years ago
|
Component: General → DMD
You need to log in
before you can comment on or make changes to this bug.
Description
•