Closed
Bug 144884
Opened 23 years ago
Closed 23 years ago
Necko buffer management
Categories
(Core :: Networking, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: dp, Assigned: dp)
References
Details
Attachments
(1 file, 2 obsolete files)
4.61 KB,
patch
|
mozilla
:
review+
dp
:
superreview+
|
Details | Diff | Splinter Review |
It would good for the pipe to recyle its buffers. Will reduce memory allocation
churn.
Assignee | ||
Comment 1•23 years ago
|
||
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
Assignee | ||
Updated•23 years ago
|
Summary: Recyle segmented buffers → Necko buffer management
Assignee | ||
Comment 2•23 years ago
|
||
All data txfrs with 4k segment size will get buffers from the buffer cache.
Comment 3•23 years ago
|
||
Comment on attachment 84832 [details] [diff] [review]
4k buffer cache in necko
sr=darin (looks good to me!)
Attachment #84832 -
Flags: superreview+
Assignee | ||
Comment 4•23 years ago
|
||
Attachment #84832 -
Attachment is obsolete: true
Comment 5•23 years ago
|
||
Comment on attachment 86446 [details] [diff] [review]
Using CreateInstance to make the allocator object
sr=darin
Attachment #86446 -
Flags: superreview+
Assignee | ||
Comment 6•23 years ago
|
||
Attachment #86446 -
Attachment is obsolete: true
Assignee | ||
Comment 7•23 years ago
|
||
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 8•23 years ago
|
||
Comment on attachment 89856 [details] [diff] [review]
Tip patch + included nsNetModule.cpp change to release the allocator.
r=rjc
Attachment #89856 -
Flags: review+
Assignee | ||
Comment 9•23 years ago
|
||
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 10•22 years ago
|
||
VERIFIED via bonsai:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsIOService.cpp&root=/cvsroot&subdir=mozilla/netwerk/base/src&command=DIFF_FRAMESET&rev1=1.145&rev2=1.146
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsIOService.h&root=/cvsroot&subdir=mozilla/netwerk/base/src&command=DIFF_FRAMESET&rev1=1.40&rev2=1.41
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/netwerk/build&command=DIFF_FRAMESET&file=nsNetModule.cpp&rev1=1.69&rev2=1.70&root=/cvsroot
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•