Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-12 | Prepare release | Erlang/OTP | |
2011-12-09 | Update copyright years | Björn-Egil Dahlberg | |
2011-12-09 | restore Java5 compatibility | Nico Kruber | |
2011-12-09 | JInterface: improve OtpOutputStream buffer allocation | Nico Kruber | |
Previously, the buffer was increased linearly by 2048 bytes. I now propose to use an exponential increase function (similar to Javas ArrayList, e.g. always at least +50%). This significantly increases performance of e.g. doRPC for large parameters as the following comparison illustrates (shown is the buffer size after each time, the buffer has reached its limit): n n*2048 (n*3)/2+1 (n*3)/2+1 (at least +2048) 1 2,048 2,048 2,048 2 4,096 3,073 4,096 3 6,144 4,610 6,145 4 8,192 6,916 9,218 5 10,240 10,375 13,828 6 12,288 15,563 20,743 7 14,336 23,345 31,115 8 16,384 35,018 46,673 9 18,432 52,528 70,010 10 20,480 78,793 105,016 11 22,528 118,190 157,525 12 24,576 177,286 236,288 13 26,624 265,930 354,433 14 28,672 398,896 531,650 15 30,720 598,345 797,476 16 32,768 897,518 1,196,215 17 34,816 1,346,278 1,794,323 18 36,864 2,019,418 2,691,485 19 38,912 3,029,128 4,037,228 20 40,960 4,543,693 6,055,843 21 43,008 6,815,540 9,083,765 22 45,056 10,223,311 13,625,648 23 47,104 15,334,967 20,438,473 24 49,152 23,002,451 30,657,710 25 51,200 34,503,677 45,986,566 26 53,248 51,755,516 68,979,850 27 55,296 77,633,275 103,469,776 28 57,344 116,449,913 155,204,665 29 59,392 174,674,870 232,806,998 30 61,440 262,012,306 349,210,498 Actually, ArrayList uses the (n*3)/2+1 strategy. In order not to decrease performance for messages <10k, we could keep the (public) OtpOutputStream#defaultIncrement constant and let the buffer always increase by at least this much (third column). In order to create a buffer of 1MB, now only 16 array copies are needed vs. (1024*1024/2048)=512 array copies for the linear increase function. If a user sends a message of 10MB size, this is 22 vs. 5120 copies. NOTE: the meaning of the "public static final int defaultIncrement" member has changed a bit with this implementation (API compatibility?) - why was this public in the first place? | |||
2011-11-24 | add test for Java string bug | Vlad Dumitrescu | |
2011-11-24 | workaround for Java bug ↵ | Vlad Dumitrescu | |
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6242664 Java 1.5 has a bug where detecting codepoint offsets in strings that are created by String.substring() gives wrong results. The new implementation uses a different method, avoinding the issue. The following code will crash without the fix: final String s = "abcdefg"; final String ss = s.substring(3, 6); final int[] cps = OtpErlangString.stringToCodePoints(ss); | |||
2011-11-22 | Revert "Update version numbers for pre-release of R15" | Björn-Egil Dahlberg | |
This reverts commit e21ff9b0b69219ab3853be7e80813156113152b7. | |||
2011-11-22 | Update version numbers for pre-release of R15OTP_R15A | Björn Gustavsson | |
2011-11-15 | Improve error message when creating a too long OtpErlangAtom | Vlad Dumitrescu | |
Also print the value that we tried to use for the atom. This helps a lot when debugging and doesn't affect anything when the length is normal. | |||
2011-10-27 | Remove unused */doc/src/make.dep files | Björn Gustavsson | |
These dependency files was once used when building the documentation, but are no longer needed. | |||
2011-10-13 | Allow noncharacter code points in unicode encoding and decoding | Björn Gustavsson | |
The two noncharacter code points 16#FFFE and 16#FFFF were not allowed to be encoded or decoded using the unicode module or bit syntax. That causes an inconsistency, since the noncharacters 16#FDD0 to 16#FDEF could be encoded/decoded. There is two ways to fix that inconsistency. We have chosen to allow 16#FFFE and 16#FFFF to be encoded and decoded, because the noncharacters could be useful internally within an application and it will make encoding and decoding slightly faster. Reported-by: Alisdair Sullivan | |||
2011-08-08 | jinterface: Use otp_subdir.mk instead of homebrewed solution | Björn Gustavsson | |
There once was a reason to have a "Makefile.otp" makefile, but it doesn't apply any longer. Rename it to "Makefile" so that the standard otp_subdir.mk file can be used for recursion into sub directories. | |||
2011-08-08 | otp_subdir.mk: Remove support for clearmake | Björn Gustavsson | |
2011-03-17 | Merge branch 'dev' into ↵ | Micael Karlberg | |
bmk/inets/ftp/missing_spec_causes_dialyxer_problems/OTP-9114 Also fixed a bunch of "end-years" (was 2010 but should have been 2011, which the commit hook not happy with). | |||
2011-03-14 | Prepare releaseOTP_R14B02 | Erlang/OTP | |
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Update and add cover spec files to work with common_test | Lukas Larsson | |
2011-02-17 | Update all test specs | Lukas Larsson | |
2011-02-17 | Fix formatting for jinterface | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update jinterface tests to conform with common_test standard | Lukas Larsson | |
2010-12-15 | Remove ancient distribution message DOP_NODE_LINK from all code | Patrik Nyblom | |
2010-12-06 | Prepare release | Erlang/OTP | |
2010-09-20 | add OtpMbox.hash() method | Vlad Dumitrescu | |
The OtpMbox class was missing the hash() method while overriding equals(). This can cause problems when using jinterface in a larger Java application. | |||
2010-09-13 | Prepare releaseOTP_R14B | Erlang/OTP | |
2010-09-13 | Merge branch 'pan/epmd-vulnerabilities/OTP-8780' into dev | Patrik Nyblom | |
* pan/epmd-vulnerabilities/OTP-8780: Teach testcases to survive TIME_WAIT overload Update erl_interface doc and testsuite for epmd changes Restore null termination of input buffer Teach testcase epmd_SUITE:too_large to accept econnaborted Teach epmd_cli.c to not respond 'Killed' when killing denied Calculate minimal packet size for ALIVE2 requests correctly Document epmd and it's options properly and fixup help text Fix anomalies in epmd not yet reported as security issues Remove two buffer overflow vulnerabilities in EPMD Remove all support for ancient EPMD protocol Remove very old protocol from EPMD Conflicts: lib/erl_interface/src/epmd/epmd_port.c | |||
2010-09-01 | Merge branch 'maint-r13' into dev | Björn Gustavsson | |
* maint-r13: Remove copyright headers in vsn.mk files Conflicts: lib/appmon/vsn.mk lib/erl_docgen/vsn.mk lib/inets/vsn.mk lib/kernel/vsn.mk lib/reltool/vsn.mk lib/ssl/vsn.mk lib/stdlib/vsn.mk lib/tools/vsn.mk lib/tv/vsn.mk lib/xmerl/vsn.mk | |||
2010-09-01 | Remove copyright headers in vsn.mk files | Björn Gustavsson | |
Copyright notices serve no useful purpose in vsn.mk files, and only complicate scripts that automatically update version numbers. | |||
2010-08-31 | Remove all support for ancient EPMD protocol | Patrik Nyblom | |
2010-08-27 | Merge branch 'maint-r13' into dev | Björn Gustavsson | |
* maint-r13: Add test suite for jinterface | |||
2010-08-24 | Add test suite for jinterface | Björn Gustavsson | |
2010-06-28 | Generate pom.xml during jinterface build | Gabor Liptak | |
2010-02-19 | Update release notes | Björn-Egil Dahlberg | |
2010-02-11 | Update version numbers | Björn Gustavsson | |
2010-01-26 | OTP-8343 The documentation is now possible to build in an open source | Lars G Thorsen | |
environment after a number of bugs are fixed and some features are added in the documentation build process. - The arity calculation is updated. - The module prefix used in the function names for bif's are removed in the generated links so the links will look like http://www.erlang.org/doc/man/erlang.html#append_element-2 instead of http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2 - Enhanced the menu positioning in the html documentation when a new page is loaded. - A number of corrections in the generation of man pages (thanks to Sergei Golovan) - Moved some man pages to more apropriate sections, pages in section 4 moved to 5 and pages in 6 moved to 7. - The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |