Is readonly file mapping a purpose of this project?

Rémi Forax forax at univ-mlv.fr
Thu Mar 4 13:38:23 PST 2010


Le 04/03/2010 16:34, Ramón García a écrit :
> It would save memory if the Java virtual machine were able to load a
> module file by mmap-ing it readonly and finding the Java class objects
> in it. In this way, several virtual machine instances using the same
> libraries would share memory. Is this among the features planned for
> this project?
>    

This is a feature of SUN jdk5 :)
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html

Rémi




More information about the jigsaw-dev mailing list