[erlang-patches] Fix for: extremely slow Erlang to/from Java communication via JInterface

Kostis Sagonas <>
Wed Nov 30 12:49:04 CET 2011

On 11/30/2011 12:16 PM, Vlad Dumitrescu wrote:
> Hi!
> 2011/11/30 Nico Kruber<>:
>> We discovered, that the communication between Erlang and Java is
>> extremely slow when sending longer lists.
>> git fetch git://github.com/NicoK/otp.git jinterface_better_buffer_alloc
>> https://github.com/NicoK/otp/compare/jinterface_better_buffer_alloc
>> https://github.com/NicoK/otp/compare/jinterface_better_buffer_alloc.patch
> This patch uses Java 6 features. Isn't jinterface supporting even Java 5?

I think it's a pity not to include this patch because of support for 
Java 5 (which is quite old, if not very old by now).

If support for java 5 is really required, perhaps this can be added with 
some sort of ifdef/configure option?


More information about the erlang-patches mailing list