Skip to content

Improve GraalVM AoT / Native image support.#663

Merged
zhenlineo merged 1 commit into
neo4j:4.0from
michael-simons:graalnative_improvements
Jan 9, 2020
Merged

Improve GraalVM AoT / Native image support.#663
zhenlineo merged 1 commit into
neo4j:4.0from
michael-simons:graalnative_improvements

Conversation

@michael-simons

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

Copy link
Copy Markdown
Contributor

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.
@zhenlineo zhenlineo merged commit ad3ebc6 into neo4j:4.0 Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants