Compressing class files in the module library
Alan.Bateman at oracle.com
Mon Nov 14 01:24:02 PST 2011
On 10/11/2011 22:21, Mandy Chung wrote:
> I agree with Chris that -9 gives the impression that it supports a
> range of compression level (0-9). If that's what we support in the
> future, -9 is a good option. Regarding Chris's question on the
> Pack200 compression level, the spec for Pack200.Packer.EFFORT says:
> Level 1 may produce somewhat larger size and faster compression
> speed, while level 9 will take much longer but may produce better
> The use of "may" which means it's not a guarantee. It does accept to
> specify a compression level from 0-9.
> Other than -0...-9, would "-z" be a good alternative? i.e. jmod
> create -z -L mlib
-z is a good idea, I see Mark likes it too. I've updated the webrev .
I've left it as a module create time option for now. If we really need
it on a per-module basis then we can add it later.
More information about the jigsaw-dev