Skip to content

Conversation

@asselyam
Copy link

@asselyam asselyam commented Nov 7, 2025

This change:

  • Updates the 'buckets' field type to WordPointer.
  • Eliminates the use of Unsafe in favor of WordBase pointer arithmetic (Pointer.add and WordPointer.addressOf).
  • Utilizes Pointer.writeObject/readObject for managing Java object references in native memory.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 7, 2025
@asselyam
Copy link
Author

asselyam commented Nov 7, 2025

@christianhaeubl Dear Dr. Haeubl here is the updated code. I couldn't run mx native-unittest because of the GraalVM compiler bug. I sent you in Slack the output i got and i was wondering if you could check my code and give some recommendations. I was trying to solve this for the last couple of days but dont fully understand. Thank you!

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.

1 participant