Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve GraalVM AoT / Native image support. #663

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

michael-simons
Copy link
Contributor

@michael-simons michael-simons commented Dec 16, 2019

Hi,

here are some changes I made to make the driver work again with graalvm aot / native compilation.

The 3 commits are open for discussion:

Only 1 commit anymore:

  1. Puts the files in the recommended location (that is new since GraalVM 19.3)

2. Actually makes thinks work again by disabling AoT optimizations in Graal. I opened I ticket there.
3. The Packer could need some polishing, but that is not required.

Also add `org.neo4j.driver.internal.async.connection.ChannelAttributes`
and
`org.neo4j.driver.internal.shaded.io.netty.buffer.ByteBufUtil$HexUtil`
to the list of runtime initialized classes.
@michael-simons michael-simons force-pushed the graalnative_improvements branch from cb7647b to d04e48b Compare December 25, 2019 06:19
@zhenlineo zhenlineo merged commit ad3ebc6 into neo4j:4.0 Jan 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants