-
New Feature
-
Resolution: Unresolved
-
P4
-
None
-
repo-leyden
-
None
This is from the on-going brainstorming & discussions as part of the bi-weekly hermetic Java zoom meetings:
When creating the final hermetic Java image, jlink would do following additional process:
- Invoke native linker to link an executable
- Stitch together the final hermetic Java executable image
The hermetic Java executable image would have the following (high-level) layout. The modules image would start at page aligned file offset. A suggestion/idea from [~rpressler] was to record the modules offset & size info at the end of the hermetic image, which could be easily retrieved at runtime.
------------------------------
| |
| executable |
| |
------------------------------
| |
| modules |
| |
------------------------------
| offset & size |
-----------------------------
When creating the final hermetic Java image, jlink would do following additional process:
- Invoke native linker to link an executable
- Stitch together the final hermetic Java executable image
The hermetic Java executable image would have the following (high-level) layout. The modules image would start at page aligned file offset. A suggestion/idea from [~rpressler] was to record the modules offset & size info at the end of the hermetic image, which could be easily retrieved at runtime.
------------------------------
| |
| executable |
| |
------------------------------
| |
| modules |
| |
------------------------------
| offset & size |
-----------------------------
- relates to
-
JDK-8347755 Support static library in jmod
-
- In Progress
-