Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.3.0
-
None
-
None
Description
While investigating a SIGSEGV, I stumbled into our use of Unsafe.copyMemory for moving data between byte[]'s and/or DirectByteBuffer's. Calls to copyMemory use an Object, offset API that performs no validation what so ever. I'd like to add assert statements (disabled by default) before these memory copies.
Attachments
Issue Links
- links to