Closed Bug 604799 Opened 14 years ago Closed 14 years ago

JM: Allocate 64K chunks for code memory on Windows

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: dmandelin)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch PatchSplinter Review
On Windows, the practical minimum allocation from VirtualAlloc is 64K. The allocator we inherited from JSC allocates 16K chunks, so we are wasting 75% of our code memory allocations on Windows.
Attachment #483643 - Flags: review?(dvander)
Attachment #483643 - Flags: review?(dvander) → review+
http://hg.mozilla.org/tracemonkey/rev/b36e628efeae
Whiteboard: fixed-in-tracemonkey
This was merged: http://hg.mozilla.org/mozilla-central/rev/b36e628efeae , so I assume it should be marked fixed.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: