<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes this patch is included for the R15B release.<br>
<br>
Thank you for the contribution, and sorry for the lack of response<br>
<br>
On 12/08/2011 06:40 PM, Nico Kruber wrote:
<blockquote cite="mid:6711394.86zYY7ld3v@csr-pc40.zib.de"
type="cite">
<pre wrap="">I haven't heard anything in a while.
Has this patch been included for R15B?
Or is there still something to do?
Regards
Nico Kruber
On Wednesday 30 November 2011 14:21:29 Nico Kruber wrote:
</pre>
<blockquote type="cite">
<pre wrap="">thank you for that tip - I wasn't even aware of Arrays.copyOf being Java6
only.
I replaced it by your code in my branch.
Nico
On Wednesday 30 November 2011 12:35:14 Vlad Dumitrescu wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I think that it's easy to fix, just replace that line with
final byte[] tmp = new byte[super.count];
System.arraycopy(super.buf, 0, tmp, 0,
super.count);
super.buf = tmp;
regards,
Vlad
On Wed, Nov 30, 2011 at 12:29, Raimo Niskanen
<a class="moz-txt-link-rfc2396E" href="mailto:raimo+erlang-patches@erix.ericsson.se"><raimo+erlang-patches@erix.ericsson.se></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Wed, Nov 30, 2011 at 12:16:29PM +0100, Vlad Dumitrescu wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi!
2011/11/30 Nico Kruber <a class="moz-txt-link-rfc2396E" href="mailto:kruber@zib.de"><kruber@zib.de></a>:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="https://github.com/NicoK/otp/compare/jinterface_better_buffer_">https://github.com/NicoK/otp/compare/jinterface_better_buffer_</a>
allo
c
<a class="moz-txt-link-freetext" href="https://github.com/NicoK/otp/compare/jinterface_better_buffer_">https://github.com/NicoK/otp/compare/jinterface_better_buffer_</a>
allo
c.patch>>
</pre>
</blockquote>
<pre wrap="">
This patch uses Java 6 features. Isn't jinterface supporting even
Java
5?>
</pre>
</blockquote>
<pre wrap="">
That is correct. JDK 1.5 is the least common denominator.
Then it will not pass our tests.
Is it the java.util.Arrays.copyOf method that is too new, or is
it more? Can the patch be rewritten?
</pre>
<blockquote type="cite">
<pre wrap="">regards,
Vlad</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">http://erlang.org/mailman/listinfo/erlang-patches</a></pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
/Henrik Nord Erlang/OTP</pre>
</body>
</html>