New issue: run time eager module loading

David M. Lloyd david.lloyd at redhat.com
Thu Mar 3 03:22:49 UTC 2016


It looks as though the instantiation of a Layer causes a complete load 
of all the modules in the layer.  Apart from the consequent lack of 
dynamicism, I think this is very likely to cause problems for large 
applications, particularly if such an application might have many 
operation modes, some of which do not require *all* of the bundled 
modules to be loaded every single time.

Can there not instead be an incremental resolution algorithm, akin to 
how classes are lazily loaded?
-- 
- DML


More information about the jpms-spec-experts mailing list