[fedora-java] default .db for gij

Andrew Haley aph at redhat.com
Fri Mar 11 19:04:53 UTC 2005


David Malcolm writes:
 > On Fri, 2005-03-11 at 18:14 +0000, Andrew Haley wrote:
 > >Phil Muldoon writes:
 > > > On the central db idea (as opposed to having each application having
 > > > their own db), what happens on a partial disk failure, and e2fsck can't
 > > > recover inodes that belong to the db? Reinstall all gcj built rpms?
 > >
 > >No.  Whenever an rpm is installed, the %post should *rebuild* the db
 > >from each application's db.  It's just a cache.
 > Does this get amortized so that you don't regenerate it for each package
 > in a transaction?  Otherwise are we getting O(n^2) work?

It's very fast.  0.7 seconds for all of jonas, and that's 300 jarfiles
and 40,000 classes.

Andrew.




More information about the java-devel mailing list