Defining a minimal boot module

Mark Reinhold mr at sun.com
Fri Oct 23 13:38:13 PDT 2009


> Date: Fri, 23 Oct 2009 13:34:27 -0700
> From: mandy.chung at sun.com

> Mark Reinhold wrote:
>> Your list looks far too short to me.  It should at least include HashMap
>> and HashSet, which I know are used in the Jigsaw runtime and also in some
>> key java.lang classes.
> 
> I was only referring to one specific class "java.util.Collections" and thus the
> list is so short.   I wanted to point out that java.util.Collections (an outer
> class) has 48 inner classes that altogether takes up 114091 bytes.  But only 8
> of the java.util.Collections inner classes are used during boot.

Ah!  My confusion, sorry -- I took "java.util.Collections" to be the name
of a prospective entire collections module.

> As for the Java collections framework, 41 collections classes are used during
> boot (see attached collections.boot).  My current boot module has 144
> collections classes but 90 of them are the inner classes that should go
> together with those 41 classes.

Got it.

- Mark



More information about the jigsaw-dev mailing list