This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129809 - Return buffered streams from LocalFileSystem
Summary: Return buffered streams from LocalFileSystem
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks: 129286
  Show dependency tree
 
Reported: 2008-03-11 17:06 UTC by Pavel Flaska
Modified: 2009-03-21 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Suggested patch (1.70 KB, text/plain)
2008-03-11 17:11 UTC, Pavel Flaska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Flaska 2008-03-11 17:06:57 UTC
We've found there are some single reads/writes when user obtained streams from file-object. This can be slow on some
filesystems.
Comment 1 Pavel Flaska 2008-03-11 17:11:46 UTC
Created attachment 58172 [details]
Suggested patch
Comment 2 Antonin Nebuzelsky 2008-04-15 17:17:44 UTC
Reassigning to new module owner jskrivanek.
Comment 3 _ tboudreau 2009-03-19 07:36:09 UTC
Simple patch, and this could make a big difference in I/O performance in a lot of places.  Any reason not to just do this?
Comment 4 Jiri Skrivanek 2009-03-19 09:10:29 UTC
Fixed as suggested. Thank you for patch and reminder.

http://hg.netbeans.org/core-main/rev/98be1b85af0f
Comment 5 Quality Engineering 2009-03-21 08:41:20 UTC
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/98be1b85af0f
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #129809 - Use BufferedOutputStream.