<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/jinterface/java_src/com/ericsson, branch maint-r16</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update copyright years</title>
<updated>2013-02-22T16:54:39+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2013-02-22T16:54:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=acc8e607aaeedcfb4cf9b6d2e0953a6a12b5b94a'/>
<id>acc8e607aaeedcfb4cf9b6d2e0953a6a12b5b94a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'nk/jinterface_dont_compress_if_size_increased/OTP-10822'</title>
<updated>2013-02-13T14:09:45+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-02-13T14:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=14254702c27e9010f65cab69cd2829b00012d7ff'/>
<id>14254702c27e9010f65cab69cd2829b00012d7ff</id>
<content type='text'>
* nk/jinterface_dont_compress_if_size_increased/OTP-10822:
  jinterface, OtpOutputStream: add a write_compressed(object, level) method
  jinterface: fix a memory leak
  jinterface: new limited OutputStream implementation without the need to resize
  jinterface: don't return compressed external term if bigger than uncompressed
  jinterface: don't compress small erlang terms &lt; 5 bytes
  jinterface, OtpOutputStream: properly override the three write() methods to ensure our growth strategy
  jinterface: fix typo in error message if encoding fails
  jinterface: don't need another FilterOutputStream wrapper
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* nk/jinterface_dont_compress_if_size_increased/OTP-10822:
  jinterface, OtpOutputStream: add a write_compressed(object, level) method
  jinterface: fix a memory leak
  jinterface: new limited OutputStream implementation without the need to resize
  jinterface: don't return compressed external term if bigger than uncompressed
  jinterface: don't compress small erlang terms &lt; 5 bytes
  jinterface, OtpOutputStream: properly override the three write() methods to ensure our growth strategy
  jinterface: fix typo in error message if encoding fails
  jinterface: don't need another FilterOutputStream wrapper
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'vd/jinterface_windows_cookie/OTP-10821'</title>
<updated>2013-02-12T11:08:37+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-02-12T11:08:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5bb22560c350baa834196835640a5aab21e97f8a'/>
<id>5bb22560c350baa834196835640a5aab21e97f8a</id>
<content type='text'>
* vd/jinterface_windows_cookie/OTP-10821:
  jinterface: fix finding cookie file on windows
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vd/jinterface_windows_cookie/OTP-10821:
  jinterface: fix finding cookie file on windows
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface, OtpOutputStream: add a write_compressed(object, level) method</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-28T19:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=283569b8ede00003c24776961e77051f37dc5594'/>
<id>283569b8ede00003c24776961e77051f37dc5594</id>
<content type='text'>
Now that we use an own deflater, we can also allow the user to specify the compression level as in Erlang's term_to_binary/2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we use an own deflater, we can also allow the user to specify the compression level as in Erlang's term_to_binary/2.
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface: fix a memory leak</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-28T19:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d78f2ee3f2bd9ce38d77d70c0893e16b9d0f8df4'/>
<id>d78f2ee3f2bd9ce38d77d70c0893e16b9d0f8df4</id>
<content type='text'>
after the first try to compress the value with a fixed buffer size, the deflater must be closed so that memory can be (instantly) reused
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
after the first try to compress the value with a fixed buffer size, the deflater must be closed so that memory can be (instantly) reused
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface: new limited OutputStream implementation without the need to resize</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-28T18:43:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bae8d6a4f357f8c9be0661e80a9d163fba56ee7c'/>
<id>bae8d6a4f357f8c9be0661e80a9d163fba56ee7c</id>
<content type='text'>
(saves memory re-allocations)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(saves memory re-allocations)
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface: don't return compressed external term if bigger than uncompressed</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-25T15:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9239bca48cad7653b43f89f71c49b3d0be682c51'/>
<id>9239bca48cad7653b43f89f71c49b3d0be682c51</id>
<content type='text'>
Now, OtpOutputStream#write_compressed() uses the same mechanism as erts_term_to_binary() in external.c: it tries to compress the given term into a buffer of the size of the uncompressed term and if this is not possible, i.e. the compression plus headers is bigger, it uses the uncompressed external term format instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, OtpOutputStream#write_compressed() uses the same mechanism as erts_term_to_binary() in external.c: it tries to compress the given term into a buffer of the size of the uncompressed term and if this is not possible, i.e. the compression plus headers is bigger, it uses the uncompressed external term format instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface: don't compress small erlang terms &lt; 5 bytes</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-25T14:16:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8e5e2a11f069935644ff5404ffd8758773834f29'/>
<id>8e5e2a11f069935644ff5404ffd8758773834f29</id>
<content type='text'>
Compression always has at least 5 bytes (the compressed tag + original size) so we can't get a smaller external term if the original term is already smaller than 5 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compression always has at least 5 bytes (the compressed tag + original size) so we can't get a smaller external term if the original term is already smaller than 5 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface, OtpOutputStream: properly override the three write() methods to ensure our growth strategy</title>
<updated>2013-02-04T08:52:34+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-25T14:06:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9061aa49cf578c3b79b79ed8564cc061847d2a73'/>
<id>9061aa49cf578c3b79b79ed8564cc061847d2a73</id>
<content type='text'>
Previously, if code called e.g. write(byte[] b, int off, int len), the growth strategy of the parent class ByteArrayOutputStream was used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if code called e.g. write(byte[] b, int off, int len), the growth strategy of the parent class ByteArrayOutputStream was used.
</pre>
</div>
</content>
</entry>
<entry>
<title>jinterface: fix typo in error message if encoding fails</title>
<updated>2013-02-04T08:52:33+00:00</updated>
<author>
<name>Nico Kruber</name>
<email>kruber@zib.de</email>
</author>
<published>2013-01-25T12:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=770bd5cd6dbda2783efb6d786983c4652840a446'/>
<id>770bd5cd6dbda2783efb6d786983c4652840a446</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
