Module Layers and platform architectures

Alan Bateman alan.bateman at oracle.com
Fri Dec 20 15:02:15 UTC 2024



On 20/12/2024 14:20, David Lloyd wrote:
> :
>
> I see, so it seems that there still would have to be a parent-child 
> relationship (possibly transitive) between the layer containing the 
> service consumer and the layer containing the service provider, 
> correct? And the provider must be in a parent layer. I.e. using 
> `jlink` doesn't magically make this constraint disappear, which is 
> what I thought was being implied.
>
At this time, the jimage format doesn't support more than one version of 
a module and jlink only supports link-time optimizations for the boot 
layer. There is a mountain of interesting work that could be done there, 
including link-time optimizations for applications that are launched in 
child layers.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20241220/8d336f12/attachment.htm>


More information about the jigsaw-dev mailing list