Closed Bug 1014308 Opened 5 years ago Closed 5 years ago

Update jemalloc3 to upstream 3.6.0

Categories

(Core :: Memory Allocator, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(3 files)

No description provided.
The core of this patch is memory/jemalloc/upstream.info. The rest is the result of running memory/jemalloc/update.sh.
Attachment #8426675 - Flags: review?(n.nethercote)
Comment on attachment 8426675 [details] [diff] [review]
Update jemalloc3 to upstream 3.6.0

Review of attachment 8426675 [details] [diff] [review]:
-----------------------------------------------------------------

rs=me.
Attachment #8426675 - Flags: review?(n.nethercote) → review+
This apply two patches that are required to fix build failures on respectively b2g and windows.

The b2g one is that bionic changed its definition of malloc_usable_size from not using a const to using one in https://github.com/android/platform_bionic/commit/25a87f7641f066437d15c6d3148d08a6ab9be231 so the patch makes it a configure-time detection.

The windows one is that MSVC doesn't support the LLU suffix for unsigned long long values.

Both patches sent upstream along with many other patches for the test suite, which don't really matter for the mozilla build.
Attachment #8426689 - Flags: review?(n.nethercote)
Attachment #8426689 - Flags: review?(n.nethercote) → review+
Attachment #8426680 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/f37de5ce263d
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.