Bug 1120798 - Use a larger realloc in one of the DMD tests so that it passes for mozjemalloc as well as jemalloc3. r=njn

This commit is contained in:
Mike Hommey 2015-01-13 14:36:29 +09:00
parent 0db6713ffb
commit 4a3ce685f8
4 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ TestUnsampled(const char* aTestName, int aNum, const char* aMode, int aSeven)
// Analyze 1: reported.
// Analyze 2: freed.
char* e = (char*) malloc(4096);
e = (char*) realloc(e, 4097);
e = (char*) realloc(e, 7169);
Report(e);
// First realloc is like malloc; second realloc is shrinking.

View File

@ -112,7 +112,7 @@ Unreported {
Once-reported {
1 block in heap block record 1 of 11
8,192 bytes (4,097 requested / 4,095 slop)
8,192 bytes (7,169 requested / 1,023 slop)
67.77% of the heap (67.77% cumulative)
77.40% of once-reported (77.40% cumulative)
Allocated at {

View File

@ -11,7 +11,7 @@ Invocation {
Live {
1 block in heap block record 1 of 12
8,192 bytes (4,097 requested / 4,095 slop)
8,192 bytes (7,169 requested / 1,023 slop)
67.77% of the heap (67.77% cumulative)
Allocated at {
#01: ... DMD.cpp ...

View File

@ -11,7 +11,7 @@ Invocation {
Cumulative {
1 block in heap block record 1 of 16
8,192 bytes (4,097 requested / 4,095 slop)
8,192 bytes (7,169 requested / 1,023 slop)
47.10% of the heap (47.10% cumulative)
Allocated at {
#01: ... DMD.cpp ...