Boot module analyzer

Mark Reinhold mr at sun.com
Fri Dec 11 09:55:17 PST 2009


> Date: Tue, 24 Nov 2009 12:26:18 -0800
> From: mandy.chung at sun.com

> I have been looking into defining a minimal boot module.  ...
> 
> The boot analyzer finds dependencies by analyzing the code attribute of the
> methods and see the BootAnalyzer class description for details about the
> implementation and its limitation.   See make/config/bootmodule.roots for the
> configuration and unsupported features.
> 
> To generate the boot.config, run:
>   make/bootanalyzer.sh -jdkhome <jdkhome> -output <dir> [-classlist]
> 
> The -classlist option is added mainly for convenience way for sanity check.
> Class analyzer should be used to generate the class list for the boot module as
> well as other modules.
> 
> The boot module for jdk7 b76 currently defined contains:
>   Total: 2307814 bytes (uncompressed) 934 classes

Thanks.  This is useful information, but I think that for now we should
focus on getting the base module and everything above it merged into the
mainline code base.  We might try to define a smaller boot module at some
later point, but it's not critical right now.

- Mark



More information about the jigsaw-dev mailing list