Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minimal changes required to implement Foreign Function and Memory API#258

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@stroomdev66
Copy link
Collaborator

This PR represents the most minimal changes required to migrate LmdbJava to use the new Java 25 Foreign Function and Memory API and remove Unsafe. From a user perspective there is very little API change other than the requrement to use a memory Arena in some places.

At present the performance lags behind the previous version by about 30% in many scenarios. This is down to two things:

  1. The fundamental Java FFM API appears to be a small percentage slower.
  2. The removal of Unsafe has resulted in the need for additional object creation rather than the ability to constantly reuse buffers and repoint addresses.

We are in the process of addressing some of these issues and improving some other areas of the codebase to compensate.

@stroomdev66stroomdev66 self-assigned thisOct 24, 2025
@stroomdev66stroomdev66 merged commit0c82e3f intolmdbjava:java-foreign-function-and-memory-apiOct 30, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@stroomdev66stroomdev66

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@stroomdev66

[8]ページ先頭

©2009-2025 Movatter.jp