Review request: Install module content into zip files
Mandy Chung
mandy.chung at oracle.com
Mon May 24 14:26:45 PDT 2010
Mark Reinhold wrote:
> http://cr.openjdk.java.net/~mr/jigsaw/rev/zip-module-content/ <http://cr.openjdk.java.net/%7Emr/jigsaw/rev/zip-module-content/>
>
>
Looks good.
The classfiles and resource files are now stored in a zip file in the target
directory (previously in the "classes" directory). For packaging a module
file, I think jpkg -m option should accept a directory containing both
.class files and resource files? Typically resource files are copied to
the classes destination directory during compilation.
This has nothing to do with this change. I guess that jpkg options were
influenced by the layout of the module library and potential optimization
in mind and thus I bring it up here.
Mandy
> This change causes a module's classes and resources to be stored in zip
> files within the target library, regardless of whether the module came
> from a .jmod file or from explicit class and resource trees.
>
> This will help performance a tiny bit on some platforms and a small bit
> on others. It's also a prelude to an even more-efficient library format,
> which will store zip-file offsets directly in module configuration files
> so that we never have to read zip-file directories.
>
> - Mark
>
More information about the jigsaw-dev
mailing list