ikvmnet / ikvm

A Java Virtual Machine and Bytecode-to-IL Converter for .NET
Other
1.22k stars 111 forks source link

Replace JNI accessors with Unsafe accessors #348

Closed wasabii closed 1 year ago

wasabii commented 1 year ago

Since we implemented a new set of Unsafe* delegates on the wrappers, for Unsafe usage, we can use these for JNI as well, instead of using sun.reflect. This will allow us to later revamp sun.reflect.