Skip to content
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

4.x: Updates to support latest dev release of GraalVM native image #8838

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

tomas-langer
Copy link
Member

Updates to native image configuration to support latest release of GraalVM (tested with OpenJDK Runtime Environment GraalVM CE 23-dev+23.1 (build 23+23-jvmci-b01)).

There are a few changes that cause compilation failures, probably due to the change of "strict image heap" now being the default. In most cases the problems were caused by instances getting into the image heap that were not marked as initialize-at-build-time.

This PR fixes all the cases that were needed for our MP-1 integration test, and for a quickstart-mp (pipeline should find if there are other issues).

@tomas-langer tomas-langer self-assigned this Jun 4, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 4, 2024
tvallin
tvallin approved these changes Jun 5, 2024
@tomas-langer
Copy link
Member Author

I have tried building the mp-2 example

  • it fails with GraalVM dev build for Java 23 (a feature from the database fails with no such method error)
  • it works fine with GraalVM for Java 21

@tomas-langer tomas-langer merged commit 1f0195e into helidon-io:main Jun 7, 2024
12 checks passed
@tomas-langer tomas-langer deleted the native-image-updated branch June 7, 2024 12:34
romain-grecourt pushed a commit to romain-grecourt/helidon that referenced this pull request Jun 11, 2024
romain-grecourt added a commit that referenced this pull request Jun 12, 2024
…ative image (#8874)

* Updates to native image configuration to support latest release of GraalVM. (#8838)

* Jwt improvements (#8865)

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Update changelog to document 8838 and 8865

---------

Signed-off-by: David Kral <david.k.kral@oracle.com>
Co-authored-by: Tomas Langer <tomas.langer@oracle.com>
Co-authored-by: David Král <david.k.kral@oracle.com>
@lprimak
Copy link

lprimak commented Jun 12, 2024

Please see #8867 and #8863
(haven't tried with .10 yet)
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x native-image OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants