Login  Register

Re: Freeing a direct NIO buffer with CLinker.freeMemory() causes a double free or corruption

Posted by Sven Gothel on Mar 01, 2023; 11:01am
URL: https://forum.jogamp.org/Freeing-a-direct-NIO-buffer-with-CLinker-freeMemory-causes-a-double-free-or-corruption-tp4042228p4042252.html

Thank you, now I get it.
(first I was like, Tuer uses OpenCL?)

Then we shall earmark this NIO memory management API to be included in GlueGen using reflection,
i.e. make it available when available :)

Do we see more and more convergence with C++ here? :) /jk
Funny, it was this manual memory management and implied potential potholes
which (politically) lead NIST to shame C++ last quarter 2022.
A long debate which I referenced here.