How can modules help to reduce memory footprint?
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Fri Dec 23 09:01:23 UTC 2016
You may want to read "The linker" section in
http://openjdk.java.net/projects/jigsaw/quick-start and
http://openjdk.java.net/jeps/282
-Sundar
On 23/12/16, 1:41 PM, kant kodali wrote:
> How can modules help to reduce memory footprint? If I right a simple
> HelloWorld program in Java the memory footprint is about 83MB and the the
> same HelloWorld program in Go is about 5MB. Now, I am not saying this is
> any good metric but I am rather trying to understand how modules can really
> help.
>
> I understand that JDK 9 itself will be modularized does that mean it will
> load only the required system libraries by the application but not all? How
> does a programmer know what system libraries are needed and what is not
> needed? What does it mean to say you distribute your own runtime?
>
>
> Thanks,
> kant
More information about the jdk9-dev
mailing list