Skip to content

[GR-64145] Various Layer{Create,Use} option fixes. #11048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2025
Merged

Conversation

graalvmbot
Copy link
Collaborator

  • Consistent checking for Layer{Create,Use} enablement
  • Ensure layer-bundle file gets written into image output directory
  • Enlist layer-bundle file in output artifacts list
  • Uniform access to SubstrateOptions.Path value
  • Derive layer filename from image name if not specified
  • Update NativeImageLayers.md spec to incorporate recent changes

Now
native-image -H:+UnlockExperimentalVMOptions -H:LayerCreate=,module=java.base,package=java.net.http -o foo/bar/base-layer
results in

Build artifacts:
 /home/user/foo/bar/base-layer.nil (image_layer_bundle)
 /home/user/foo/bar/base-layer.so (image_layer)
 ...
========================================================================================================================
Finished generating 'base-layer' in 1m 3s.

olpaw added 2 commits April 17, 2025 15:13
* Consistent checking for Layer{Create,Use} enablement
* Ensure layer-bundle file gets written into image output directory
* Enlist layer-bundle file in output artifacts list
* Uniform access to SubstrateOptions.Path value
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 17, 2025
@graalvmbot graalvmbot closed this Apr 17, 2025
@graalvmbot graalvmbot deleted the paw/GR-64145 branch April 17, 2025 21:52
@graalvmbot graalvmbot merged commit 90cbfe3 into master Apr 17, 2025
3 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants