Is readonly file mapping a purpose of this project?
Ramón García
ramon.garcia.f+java at gmail.com
Fri Mar 5 03:18:34 PST 2010
No, you did not understand my request .Class data sharing is limited
to system classes. I am asking a module to be a file that can be
distributed, and efficiently memory mapped and therefore shared.
Android has a similar feature
http://www.youtube.com/watch?v=ptjedOZEXPM
On Thu, Mar 4, 2010 at 10:38 PM, Rémi Forax <forax at univ-mlv.fr> wrote:
> 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