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 60783 - Use meta-index to speedup classloading
Summary: Use meta-index to speedup classloading
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-07-07 15:29 UTC by _ rkubacki
Modified: 2009-05-15 11:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch to modify classloaders (3.04 KB, patch)
2005-07-07 15:31 UTC, _ rkubacki
Details | Diff
added file (6.27 KB, patch)
2005-07-07 15:31 UTC, _ rkubacki
Details | Diff
builder sources (7.62 KB, patch)
2005-07-07 16:09 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2005-07-07 15:29:42 UTC
Similar to JDK's RFE #6278974 - Add meta-index to jre/lib

The idea is to have a small "meta-index" file which contains high-level
information about which packages (or package prefixes) are contained in which
jars. The expected benefit for JVM is to avoid opening of some JARs. Another
benefit when applied in NetBeans can be faster access path to JAR that actually
contains the resource (classloaders can efectivelly refuse to load resources
that are not in the JAR.
Comment 1 _ rkubacki 2005-07-07 15:31:04 UTC
Created attachment 23026 [details]
patch to modify classloaders
Comment 2 _ rkubacki 2005-07-07 15:31:46 UTC
Created attachment 23027 [details]
added file
Comment 3 _ rkubacki 2005-07-07 16:07:47 UTC
Need also index builder and to build the indexes. For example using comand like
this one:

for i in `find nbbuild/netbeans -type d -name "core" -o -name "modules" -o -name
"ext"`; do echo $i; cd $i; java -classpath
$HOME/devel/radim/tests/metaIndexBuilder/dist/metaIndexBuilder.jar
metaindex.BuildMetaIndex *.jar >>meta-index; cd -; done
Comment 4 _ rkubacki 2005-07-07 16:09:44 UTC
Created attachment 23029 [details]
builder sources
Comment 5 Jaroslav Tulach 2009-05-15 11:44:56 UTC
I guess we are in good position now with Nejedlák's all-resources.dat.