aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-01-09erts: Badarg if port output overflows iov_lenRaimo Niskanen
2011-12-21prim_file_SUITE: large_file success depends on wordsizeRaimo Niskanen
Check VM wordsize to see if a driver command with data larger than 32-bit size is supposed to succeed. On wordsize 4 machines (32-bit) {error,einval} is expected since the total size passed to a driver can not exceed sizeof(ErlDrvSizeT).
2011-12-20file_SUITE: Increase timeout for large_fileRaimo Niskanen
Windows needs large timeout.
2011-12-20file_SITE,prim_file_SUITE: Accept old OpenBSD pecularityRaimo Niskanen
2011-12-20prim_file_SUITE: large_write - meaner test data and check result contentRaimo Niskanen
2011-12-20file_SUITE: large_write - check mem size before creating huge binaryRaimo Niskanen
2011-12-20erts: rewrite efile_writev to handle partial writes correctlyRaimo Niskanen
2011-12-20erts: Bugfix - driver_deq freed wrong length due to short type (int)Raimo Niskanen
2011-12-20prim_file_SUITE: Add large_write/1Björn Gustavsson
Test writing slightly more than 4GB as an io list with smaller binaries.
2011-12-20file_SUITE: Add large_write/1Björn Gustavsson
Test writing 2GB to a file in one go.
2011-12-20file_SUITE: Refactor large_file/1Björn Gustavsson
Factor out support functions from large_file/1 so that we can write other test cases that use large files.
2011-12-20file_SUITE: Fix unix_free/1Björn Gustavsson
unix_free/1 returned the total size of the disk, not the free space.
2011-12-14Update snmp to correct versionOTP_R15BBjörn-Egil Dahlberg
2011-12-13[xmerl] Remove trailing blanksLars Thorsen
OTP-9821
2011-12-13[xmerl] Fix bug in namespace handling for attributesLars Thorsen
The uniqueness check of attributes failed when the namespace_conformant flag was set to true.
2011-12-12Prepare releaseErlang/OTP
2011-12-12Make vxwork buildBjörn-Egil Dahlberg
2011-12-12Update preloaded modulesBjörn-Egil Dahlberg
OTP-9810 OTP-9812 OTP-9813 OTP-9814 OTP-9818
2011-12-12Merge remote branch 'origin/peppe/common_test/r15b_docs'Peter Andersson
* origin/peppe/common_test/r15b_docs: Update basics chapter and introduce getting started chapter Document the tc_logfile data Document new CSS look and the basic_html flag Document info functions for init/end_per_suite/group Document the group info function Document changes in test specifications (groups) and style sheets Document group specifications in all/0 and the group info function OTP-9156
2011-12-12Update basics chapter and introduce getting started chapterPeter Andersson
2011-12-12Document the tc_logfile dataPeter Andersson
2011-12-12Document new CSS look and the basic_html flagPeter Andersson
2011-12-12Document info functions for init/end_per_suite/groupPeter Andersson
2011-12-12Document the group info functionPeter Andersson
2011-12-12Document changes in test specifications (groups) and style sheetsPeter Andersson
2011-12-12Document group specifications in all/0 and the group info functionPeter Andersson
2011-12-10Merge branch 'rickard/alloc-opt/OTP-7775'Rickard Green
* rickard/alloc-opt/OTP-7775: Fix thread progress debug code for has_reached_wakeup()
2011-12-10Fix thread progress debug code for has_reached_wakeup()Rickard Green
2011-12-10Merge branch 'dgud/wx/behaviour-spec'Dan Gudmundsson
* dgud/wx/behaviour-spec: [wx] Add handle_cast to avoid behaviour warning [wx] Avoid missing wx_object behaviour warning [wx] Remove warnings Add an additional cast when casting buffer offsets, to remove warnings "cast to pointer from integer of different size" [wx] Add callback specs to wx_object
2011-12-09Merge branch 'pan/win64-fixes'Patrik Nyblom
* pan/win64-fixes: Update INSTALL-WIN32.md to reflect changes in R15B Make erl_alloc.c use correct strtol variant on windows Set absolute limit on number of threads in ethread_SUITE OTP-9130
2011-12-09Update INSTALL-WIN32.md to reflect changes in R15BPatrik Nyblom
2011-12-09Merge branch 'raimo/driver-API-doc'Raimo Niskanen
* raimo/driver-API-doc: Driver API: Update documentation for 64-bit sizes
2011-12-09Update preloaded modulesBjörn-Egil Dahlberg
2011-12-09Driver API: Update documentation for 64-bit sizesRaimo Niskanen
2011-12-09Update primary bootstrapBjörn-Egil Dahlberg
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-09Merge branch 'egil/update-readme'Björn-Egil Dahlberg
* egil/update-readme: Update INSTALL.md with new test platforms Update system readme to reflect R15B
2011-12-09Update INSTALL.md with new test platformsBjörn-Egil Dahlberg
* New test platforms * Note OpenSSL 0.9.7 -> 0.9.8
2011-12-09[wx] Add handle_cast to avoid behaviour warningDan Gudmundsson
2011-12-09[wx] Avoid missing wx_object behaviour warningDan Gudmundsson
Copy wx_object to bootstrap compiler
2011-12-09Merge branch 'r15b_app_versions'Peter Andersson
* r15b_app_versions: Update common_test and test_server vsn
2011-12-09Update common_test and test_server vsnPeter Andersson
2011-12-09Merge remote branch 'origin/peppe/common_test/capture_io'Peter Andersson
* origin/peppe/common_test/capture_io: Fix error in documentation Create ct interface to the test_server:capture_* functions OTP-9775
2011-12-09Merge remote branch 'origin/peppe/common_test/groups'Peter Andersson
* origin/peppe/common_test/groups: Change init/end_per_group/0 -> init/end_per_group/1 Add config info suite Add tests for group specification and info function Implement support for overriding group properties with test specification Implement support for overriding group properties with all/0 Implement the group info function OTP-9235 OTP-9569 OTP-9809
2011-12-09Merge branch 'dgud/observer/gui/OTP-4779'Dan Gudmundsson
* dgud/observer/gui/OTP-4779: [observer] Add basic documentation [observer] Do not start polling tables until user view them [observer] Move rpc calls to runtime tools [observer] Added an application viewer [observer] Remove unused time from process view [observer] Change process_info stack to be listctrl [observer] Fix listctrl colum size calculation [observer] Add more trace functionality [observer] Use standard popup menu
2011-12-09Merge branch 'dgud/mnesia/read-sticky-bug/OTP-9786'Dan Gudmundsson
* dgud/mnesia/read-sticky-bug/OTP-9786: [mnesia] Read record from correct node [mnesia] Fixed sticky read lock bug [mnesia] Whitespace fixes Conflicts: lib/mnesia/src/mnesia_log.erl
2011-12-09Merge branch 'lars/doc-include-path-error'Lars Thorsen
* lars/doc-include-path-error: Fix error in dtd include paths to xsltproc.
2011-12-09Merge branch 'nk/jinterface_better_buffer_alloc'Henrik Nord
* nk/jinterface_better_buffer_alloc: restore Java5 compatibility JInterface: improve OtpOutputStream buffer allocation OTP-9806
2011-12-09restore Java5 compatibilityNico Kruber
2011-12-09JInterface: improve OtpOutputStream buffer allocationNico 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?