Community
Participate
Working Groups
This method uses new FileInputStream, but does not wrap the stream in a BufferedInputStream. This means each byte read from the file requires a disk read.
this happens during reading the configuration at startup, which we definitely want to do buffered, especially on a cold startup (such as after reboot).
Created attachment 54828 [details] patch for update.configurator
Comment on attachment 54828 [details] patch for update.configurator Actually don't apply this patch...I have Eclipse set to auto format and organize imports when I save so there are too many changes here. All you need to do is change the 2 places in ConfigurationParser#parse. Also there is the same case in FeatureParser#parse. It too should be wrapped in a BufferedInputStream.
Changing milestone to 3.3 M5 since patch didn't get released for M4.
Changing target milestone for consideration for 3.2.2. Adding McQ to the CC list as a PMC representative for approval.
+1
Branko, please release into the 3.2.2 release and also HEAD but don't version for the M4.
With regard to comment 7, is this in the 3.2.2 builds yet?
No. DJ, can you attach a new patch without formatting for ConfigurationParser and FeatureParser that I can apply today?
Created attachment 56660 [details] patch for update.configurator Patch for org.eclipse.update.configurator. Should work against both 3.2.x and HEAD streams.
Created attachment 56712 [details] patch for update.configurator better patch. ready for release. good for both streams.
Branko, please release DJ's patch into both the maintenance and the HEAD streams (also version and update the maps).
With regard to comment 12, did this make last Friday's 3.2.2 build?
yes this is in 3.2.2, but it is not closed since it is not in HEAD yet.
Created bug 170527 to track releasing this fix into 3.3. Closing.