Closed Bug 144884 Opened 23 years ago Closed 23 years ago

Necko buffer management

Categories

(Core :: Networking, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: dp, Assigned: dp)

References

Details

Attachments

(1 file, 2 obsolete files)

It would good for the pipe to recyle its buffers. Will reduce memory allocation churn.
cache, http, ftp buffers are not recycled. We allocate and free them. Esp. ftp is allocating 64k buffers.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
Summary: Recyle segmented buffers → Necko buffer management
Attached patch 4k buffer cache in necko (obsolete) — Splinter Review
All data txfrs with 4k segment size will get buffers from the buffer cache.
Comment on attachment 84832 [details] [diff] [review] 4k buffer cache in necko sr=darin (looks good to me!)
Attachment #84832 - Flags: superreview+
Depends on: 146532
Attachment #84832 - Attachment is obsolete: true
Comment on attachment 86446 [details] [diff] [review] Using CreateInstance to make the allocator object sr=darin
Attachment #86446 - Flags: superreview+
Comment on attachment 89856 [details] [diff] [review] Tip patch + included nsNetModule.cpp change to release the allocator. Darin looked at this. Moving sr from earlier patch.
Attachment #89856 - Flags: superreview+
Comment on attachment 89856 [details] [diff] [review] Tip patch + included nsNetModule.cpp change to release the allocator. r=rjc
Attachment #89856 - Flags: review+
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 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: