Development of precompiled shared libraries

Ramón García ramon.garcia.f+java at gmail.com
Tue Oct 14 02:17:50 PDT 2008


Hello,

I am developing support of precompiling libraries so that they can be
loaded faster by the JVM. There are many issues, and this looks like
very complex.

The purpose of this project is to enable to have Java code in such
representation so that it can be loaded as quickly as posible. Another
purpose is to save memory,
using a representation in files that is memory mapped, so that
different virtual machines share the memory used. This is similar to
the shared archive produced since Java 5, but general for any user
Java class instead of restricted to the bootclasses.

In addition to saving memory, this will encourage to use more than one
virtual machine for some tasks, making designs more robust by taking
advantadge of the operating system ability of process separation.

In the first stage, shared libraries will be compiled just in time
like now. In the future, shared libraries will contain precompiled
code.

I need your help. This task requries to touch the representation of
Java objects and I must share with you design decisions.

Ramon



More information about the hotspot-runtime-dev mailing list