Call for Discussion: New Project: Leyden

mark.reinhold at oracle.com mark.reinhold at oracle.com
Mon Apr 27 17:46:56 UTC 2020


2020/4/27 10:38:09 -0700, Florian Weimer <fw at deneb.enyo.de>:
> * mark reinhold:
>> ...
>> 
>> Leyden will address these pain points by introducing a concept of _static
>> images_ to the Java Platform, and to the JDK.
>> 
>>  - A static image is a standalone program, derived from an application,
>>    which runs that application -- and no other.
>> 
>>  - A static image is a closed world: It cannot load classes from outside
>>    the image, nor can it spin new bytecodes at run time.
> 
> Static images will still rely on dynamic linking to C system
> libraries, right?

I expect that will be the default behavior, but an implementation could
certainly offer the option to create a static image that requires no
dynamic linking to other native libraries.

>                    Unfortunately, the most apparent alternative terms
> appear to be overloaded, too.

Indeed, they are.  “Static” Java code != “static” native code but, like
you, I couldn’t find a better term.

- Mark


More information about the discuss mailing list