Hello, I have run the project "mysafe" , and I have some questions, looking for your help.
Why when I run the method unsafe.allocatememory() , it would go to the method MysafeDelegator.allocateMemory()?
How the program detects the implementation of the method unsafe.allocatememory()?
And I used the method "ByteBuffer.allocateDirect()" to allocate direct memory, but it could not be detected.
Thanks for your help!!
Hello, I have run the project "mysafe" , and I have some questions, looking for your help.
Why when I run the method
unsafe.allocatememory(), it would go to the methodMysafeDelegator.allocateMemory()?How the program detects the implementation of the method
unsafe.allocatememory()?And I used the method "ByteBuffer.allocateDirect()" to allocate direct memory, but it could not be detected.
Thanks for your help!!