Compressing SimpleLibrary with GZIP
Alan.Bateman at oracle.com
Tue Mar 13 15:43:06 PDT 2012
On 13/03/2012 21:14, Aleksey Shipilev wrote:
> Yes, I noticed that option. It has no effects on my large multimodule
> tests which have hundreds of modules, metadata dominates there. For the
> reference, this is the library with "just" 500 modules, and 1 simple
> class per module:
> $ du -sk library-c500-d500*
> 1266020 library-c500-d500.BASELINE
> 107152 library-c500-d500.GZIP
> How about that!
> Is SimpleLibrary considered to be prototype? If so, then enabling
> compression aids me to do more experiments with it, when I don't have to
> burn my disks reading and writing gigabytes of metadata. Yes, I've been
> considering using squashfs to fit all these libraries on my machine, but
> it seems less appealing than changing a few lines in Jigsaw code.
Sorry you're running into the issue with size of the meta data, that
does need to be fixed, hopefully over the next few months. I wouldn't
object to compressing the config file in the short term. As regards
SimpleLibrary then it will likely evolve, maybe in the future there will
be other Library implementations too.
More information about the jigsaw-dev