aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-03-03Bugfix: Never deliver empty chunk to inetsSiri Hansen
2011-02-28Fix file descriptor leak in crashdump_viewer:chunk_pageSiri Hansen
Also, remove compiler warnings for crashdump_viewer_SUITE and fix Makefile in test directory so Emakefile does not grow.
2011-02-28Minor bugfix related to improved performance of crashdump_viewerSiri Hansen
2011-02-28Document new cdv script and cdv.bat file for starting crashdump viewerSiri Hansen
2011-02-28Add shell script and .bat file to start crashdump_viewerSiri Hansen
Since browsers no longer can provide the full path of a file selected with a file-type input field (browse button), the input field for loading a crashdump is now changed to a plain text input field. Since this reduces the user-friendlyness, a shell script (and a .bat file) has instead been added so the crashdump_viewer can be started directly from the command line - and thus normal tab completion can be used for selecting the crashdump file. Usage: cdv file [ browser ]
2011-02-28Fix slow parsing of crashdumpsSiri Hansen
This is a first attempt at fixing the problem described in seq11783 - crashdump_viewer is very slow at parsing big crashdumps. To open the first page for a dump of 17M takes about 2 minutes and a dump of 280M takes 1.5-2 hours. The main problmem is that the cdv_dump_index_table, which holds all tags read from the dump, is a bag. Profiling shows that ~95% of the time is spent in ets:insert. The table is now changed to an ordered_set. A second problem occured when a page with many table rows was opened. These pages were sent to inet in one chunk, causing both crashdump_viewer_server and the inets (mod_esi) process to grow very much in memory usage. To overcome this, the pages are now sent to inets in chunks of 1000 rows, and the data is coverted to binaries to avoid data copying between the two processes. Also, some new information in the crashdump was not recognized by the crashdump_viewer. This has been fixed.
2011-02-25Fix trivial typos in supervisor_SUITETuncer Ayaz
2011-02-24Merge branch 'bjorn/fix-dialyzer-warnings' into devBjörn Gustavsson
* bjorn/fix-dialyzer-warnings: v3_kernel_pp: Eliminate dialyzer warning inet6_tcp_dist: Eliminate dialyzer warning for "tuple fun"
2011-02-24Merge branch 'bjorn/compiler/refactor-source-options' into devBjörn Gustavsson
* bjorn/compiler/refactor-source-options: compile: Refactor handling of source options (e.g. 'from_core')
2011-02-24Merge branch 'bjorn/fix-os_find_executable/OTP-8983' into devBjörn Gustavsson
* bjorn/fix-os_find_executable/OTP-8983: Never allow os:find_executable/1 to return the path of directories
2011-02-23v3_kernel_pp: Eliminate dialyzer warningBjörn Gustavsson
Use conditional compilation instead of a run-time test. Will also improve the coverage of the code.
2011-02-23kernel: Eliminate compiler warningBjörn Gustavsson
2011-02-23stdlib tests: Eliminate some compiler warningsBjörn Gustavsson
2011-02-23compiler: Eliminate some warningsBjörn Gustavsson
2011-02-23inet6_tcp_dist: Eliminate dialyzer warning for "tuple fun"Björn Gustavsson
Replace the "tuple fun" with an external fun.
2011-02-23Merge branch 'ia/supervisor-saves-unnecessary-data/OTP-9064' into devIngela Anderton Andin
* ia/supervisor-saves-unnecessary-data/OTP-9064: Added test case do_not_save_start_parameters_for_temporary_children and fixed dialyzer spec. Do not save parameter list for any temporary processes Do not save initial arguments for dynamic temporary processes Conflicts: lib/stdlib/test/supervisor_SUITE.erl
2011-02-22Merge branch 'ia/ssl/dialyzer' into devIngela Anderton Andin
* ia/ssl/dialyzer: Dialyzer does not like old fun syntax Corrected dialyzer specs Modernized some dialyzer specs
2011-02-22Dialyzer does not like old fun syntaxIngela Anderton Andin
2011-02-22Corrected dialyzer specsIngela Anderton Andin
2011-02-22ei: buffer overflow when decoding atomsMichael Santos
2011-02-22erl_interface: fix buffer overflowsMichael Santos
2011-02-22Modernized some dialyzer specsIngela Anderton Andin
2011-02-22Added test case do_not_save_start_parameters_for_temporary_children and fixedIngela Anderton Andin
dialyzer spec.
2011-02-22Do not save parameter list for any temporary processesIngela Anderton Andin
Previous commit changed the supervisor to not save parameter lists for temporary processes supervised by simple-one-for-one supervisors. But it is unnecessary to save them for any temporary processes as they should not be restarted. Proably the biggest gain is in the simple-one-for-one case. Also changed the test case count_children_memory so it does not test that which_children will produce garbage that must be reclaimed later. This is a strange thing to test and it is no longer true for all invocations of which_children.
2011-02-22Do not save initial arguments for dynamic temporary processesIngela Anderton Andin
2011-02-18Merge branch 'mh/file-fix_spec' into devNiclas Axelsson
* mh/file-fix_spec: Fix -spec for file:write_file/3 OTP-9067
2011-02-18Merge branch 'sverker/ets_halfword_highmem/OTP-8941' into devSverker Eriksson
* sverker/ets_halfword_highmem/OTP-8941: HALFWORD ETS Fix copyright year in some source files Fix vm crash in kernel test case seq_trace_SUITE:call remove NIF compile warning: no previous prototype for ‘nif_init’ Refuse to load NIF library on wrong VM variant (halfword/fullword) HALFWORD ETS match spec heap fragment optimization HALFWORD ETS removed eheap and improved test case t_match_spec_run HALFWORD ETS Further match spec optimization to minimize copying and garbage HALFWORD ETS db_prog_match optimization HALFWORD ETS Fix segv for match spec with several function and guards HALFWORD Make system_info mseg_alloc report both low/high mem HALFWORD Fix segv caused by erlang:halt HALFWORD Make more allocators use high mem (binary, fixed and driver) HALFWORD ETS 32-bit arch fixes and other cleanups HALFWORD ETS nicer update_element HALFWORD ETS Real matching on relative terms HALFWORD first stab at high mem alloc HALFWORD ETS relative terms Conflicts: erts/emulator/test/driver_SUITE.erl
2011-02-18Merge branch 'jp/dependencies_makefile' into devBjörn Gustavsson
* jp/dependencies_makefile: Add dependencies Makefile generation to erlc(1) and compile(3) Conflicts: lib/compiler/test/compile_SUITE.erl OTP-9065
2011-02-18Add dependencies Makefile generation to erlc(1) and compile(3)Jean-Sébastien Pédron
This is useful when a project is built with Makefiles and erlc(1) instead of EMakefiles. Tracking dependencies by hand is error-prone and it becomes painful when using external application headers like EUnit's one. A dependencies Makefile will look like this: module.beam: module.erl \ /usr/local/lib/erlang/lib/eunit-2.1.4/include/eunit.hrl \ header.hrl When included in the main Makefile, 'module' will be recompiled only when needed. GCC offers the same feature and new erlc(1) options are compatible with it. More informations at: http://wiki.github.com/dumbbell/otp/dependencies-makefile
2011-02-17Update ipv6 testcase to be skipped if no ipv6 hosts are definedLukas Larsson
2011-02-17Update ftp suite to take config from ct:get_configLukas Larsson
2011-02-17Update gethostname test cases for v6 to use the v6 hosts instead of v4Lukas Larsson
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Strip ts.config of internal addresses.Lukas Larsson
2011-02-17Update ssl orber tests to be skipped if there is no ssl installedLukas Larsson
2011-02-17Update init_per_suite to skip all tests if crypto does not existLukas Larsson
2011-02-17Update so that count_children_memory is skipped on +Meamin emulatorsLukas Larsson
2011-02-17Update so that tests are skipped if odbc:connect failsLukas Larsson
2011-02-17Update init_per_testcase to kill all slaves when called.Lukas Larsson
This is to prevent testcases which fail to before to chain with the ones run after.
2011-02-17Update and add cover spec files to work with common_testLukas Larsson
2011-02-17Update all test specsLukas Larsson
2011-02-17Fix formatting for wxLukas Larsson
2011-02-17Fix formatting for toolsLukas Larsson
2011-02-17Fix formatting for syntax_toolsLukas Larsson
2011-02-17Fix formatting for stdlibLukas Larsson
2011-02-17Fix formatting for sslLukas Larsson
2011-02-17Fix formatting for runtime_toolsLukas Larsson
2011-02-17Fix formatting for reltoolLukas Larsson
2011-02-17Fix formatting for public_keyLukas Larsson
2011-02-17Fix formatting for perceptLukas Larsson