Skip to content

Conversation

@Fadouse
Copy link
Owner

@Fadouse Fadouse commented Oct 4, 2025

Summary

  • add primitive array caching infrastructure in the VM interpreter to reuse pinned buffers and avoid repeated JNI region calls
  • introduce an object array cache so multidimensional array rows are retained as global references instead of repeatedly fetched
  • update array load/store opcodes to use the cached buffers with explicit bounds checks before dispatch

Testing

  • ./gradlew test
  • java -cp MatrixBench.jar MatrixBench (manual benchmark run)

https://chatgpt.com/codex/tasks/task_e_68e083ecd15c8332a81729c8336e7ef1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants