Embedded JDK how to replace the default allocator

Thomas Stüfe thomas.stuefe at gmail.com
Sun Dec 13 10:15:35 UTC 2020


Hi Guy,

What do you mean by default allocator? C-Heap? Mmap/shmat? And what OS are
you targeting?

Cheers, Thomas

On Fri, Dec 11, 2020 at 9:49 PM Guy Korland <gkorland at gmail.com> wrote:

> Hi,
>
> I'm sorry if that is not the right mailing list for such questions, please
> point me to the right one if it's not.
>
> We're embedding the OpenJDK in a C application, we already managed to make
> it work and run Java bytecode, but we are still missing one last piece, we
> need a way to replace the default memory allocator to use our allocator.
>
> Is there a way to do it?
>
> Thanks,
> Guy Korland
>


More information about the hotspot-dev mailing list