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 42387 - .settings file are sometimes read from unbuffered streams
Summary: .settings file are sometimes read from unbuffered streams
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-04-23 12:12 UTC by _ rkubacki
Modified: 2008-12-22 22:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
part of output (1.84 KB, text/plain)
2004-04-23 12:13 UTC, _ rkubacki
Details
another output from AU settings reading (12.86 KB, text/plain)
2004-04-26 09:12 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-04-23 12:12:18 UTC
Running the IDE under strace (export
_NB_PROFILE_CMD='strace -f' ) shows some calls to
read one character. I need to investigate when it
is happening.
Comment 1 _ rkubacki 2004-04-23 12:13:27 UTC
Created attachment 14532 [details]
part of output
Comment 2 _ rkubacki 2004-04-23 15:11:27 UTC
o.n.m.core.windows.peristence.TCRefParser.PropertyHandler.readData
calls  FileObject.getInputStream and obtains
org.openide.filesystems.StreamPool$NotifyInputStream that is
FilterInputStream over a java.io.FileInputStream for local files.

Raising to P2 as there can be more places suffering from this inefficiency
Comment 3 _ rkubacki 2004-04-26 09:12:29 UTC
Created attachment 14552 [details]
another output from AU settings reading
Comment 5 Jaromir Uhrik 2005-07-14 16:18:20 UTC
Verified.