aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-04-12erts: Introduce struct binary_internalsSverker Eriksson
to replace macro ERTS_INTERNAL_BINARY_FIELDS as header in Binary and friends.
2017-04-11erts: Introduce erts_bin_releaseSverker Eriksson
2017-04-11erts: Init refc=1 in erts_bin_drv_alloc*Sverker Eriksson
2017-04-11erts: Init refc=1 in erts_bin_nrml_allocSverker Eriksson
Only term_to_binary needed some extra attention as it used to initialize refc as 0 instead of 1.
2017-04-05erts: Remove deliberate leak of hipe fun entriesSverker Eriksson
should be fixed since 32729cab75325de58bf127e6e8836348071b8682
2017-04-05erts: Remove hipe_bifs:remove_refs_from/1Sverker Eriksson
which serves no purpose after all the hipe load&purge fixes merged at 32729cab75325de58bf127e6e8836348071b8682
2017-04-04Refactor hipe specific code to use ErtsCodeInfoSverker Eriksson
instead of ugly negative indexing.
2017-04-04erts: Refactor ErtsCodeInfo.nativeSverker Eriksson
into union with actual usage types.
2017-04-03Merge PR-1076 from g-andrade/feature/ets_conditional_insert OTP-14319Sverker Eriksson
ETS: Allow for conditional insertions
2017-04-03stdlib: Fix xmllint warningsHans Bolinder
Commit d2be06f introduced xmllint warnings.
2017-04-03Merge branch 'dgud/observer/keep-selection/OTP-14270'Dan Gudmundsson
* dgud/observer/keep-selection/OTP-14270: observer: (re)store config observer: Use event info to get active tab observer: Keep sel after column change tv observer: Keep port selection after refresh observer: Keep tv selection after refresh
2017-03-31Merge PR-1390 from kostis/on_load-no_native OTP-14316Sverker Eriksson
Add a no_native option to modules with an on_load
2017-03-31Merge branch 'egil/kernel/refactor-supervisor/OTP-14315'Björn-Egil Dahlberg
* egil/kernel/refactor-supervisor/OTP-14315: Update primary bootstrap kernel: Refactor supervision tree
2017-03-31Merge PR-1394 from kostis/hipe-ppc-fixes ERL-369 OTP-14314Sverker Eriksson
HiPE PPC fixes
2017-03-30Update primary bootstrapBjörn-Egil Dahlberg
2017-03-30kernel: Refactor supervision treeBjörn-Egil Dahlberg
Use maps in definitions to make them more readable.
2017-03-30Merge branch 'goeldeepak/erts/fix_inet_gethost_long/ERL-61/PR-1345/OTP-14310'Lukas Larsson
* goeldeepak/erts/fix_inet_gethost_long/ERL-61/PR-1345/OTP-14310: This patch fixes the issue in which erlang fails to start if the hostname is 64 characters on a linux system.
2017-03-30Add a missing 0 to an address, which was suspiciously missingKostis Sagonas
2017-03-29Partially revert commit 37d63e9b8a0a96125ada858205286a58a5bed1aeKostis Sagonas
The above commit erroneously declared 'ppc64le' as a 'ppc64' for HiPE enabling. These two architectures are different and one can NOT expect that native code generated for one architecture runs on the other one. Rather than reverting this commit, make sure that the architecture is declared correctly instead of pretending it's a PPC64.
2017-03-29Merge branch 'egil/erts/fix-copy-sharing-assert'Björn-Egil Dahlberg
* egil/erts/fix-copy-sharing-assert: erts: Fix faulty assert for refs in copy sharing
2017-03-28Merge PR-1379 from ostrovsky/erl-294 OTP-14307Sverker Eriksson
Improve no-pie solution from bug report ERL-294
2017-03-28erts: Fix faulty assert for refs in copy sharingBjörn-Egil Dahlberg
2017-03-28Fix use of uninitialized variable 'ret'Sverker Eriksson
DID_TRAP will read 'ret' even when error is returned. Found by valgrind.
2017-03-28observer: (re)store configDan Gudmundsson
Store config when exiting app and restore config when starting again.
2017-03-28Merge PR-1392 from margnus1/hipe-range-fixpoint-bug OTP-14306Sverker Eriksson
HiPE: Fix ERL-278: Fix range analysis miscompilation bug
2017-03-28hipe_icode_range: Add comment about side-effectsMagnus Lång
2017-03-28observer: Use event info to get active tabDan Gudmundsson
Previously changing tabs during high cpu-load, could make the change go unnoticed, and thus the graphs did not get updated.
2017-03-28Merge branch 'sverker/hipe-long-lived'Sverker Eriksson
* sverker/hipe-long-lived: Make hipe_bifs:alloc_data/3 pad addr to alignment erts: Change HIPE allocations from sys_alloc
2017-03-28Merge branch 'lukas/erts/hide-debug-consoles'Lukas Larsson
* lukas/erts/hide-debug-consoles: erts: Only show debug consoles if ERL_CONSOLE_MODE is defined
2017-03-28Merge branch 'lukas/erts/fix_enif_inspect_binary_emasculate/OTP-14304'Lukas Larsson
* lukas/erts/fix_enif_inspect_binary_emasculate/OTP-14304: erts: Add enif_inspect_binary emasculation of refc bins
2017-03-28observer: Keep sel after column change tvDan Gudmundsson
2017-03-28observer: Keep port selection after refreshDan Gudmundsson
2017-03-28observer: Keep tv selection after refreshDan Gudmundsson
Selection was lost after updates
2017-03-28Merge branch 'lukas/kernel/gen_tcp_close_docs'Lukas Larsson
* lukas/kernel/gen_tcp_close_docs: kernel: Expand gen_tcp:close docs with send text
2017-03-28kernel: Expand gen_tcp:close docs with send textLukas Larsson
This commit attempts to clarify some of the guarantees given by the TCP standard when issuing close. This is quite a complex topic so there are probably corner cases still left, but this at least tells the user that things can go wrong when doing a close.
2017-03-27Merge branch 'sverker/make-config-dep'Sverker Eriksson
ERL-379 * sverker/make-config-dep: erts: Make generated files depend on Makefile
2017-03-27Make hipe_bifs:alloc_data/3 pad addr to alignmentMagnus Lång
7814ec18b made hipe_bifs:alloc_data/3 expect alignments greater than 8 from erts_alloc(), which is not something that it guarantees. Fix it up so that it pads the allocation up to the required alignment, in case it does not initially satisfy the alignment requirement.
2017-03-27Merge PR-1386 from kostis/hipe-const-alignment OTP-14302Sverker Eriksson
hipe: Fix alignment of byte-sized constants
2017-03-27Merge pull request #1387 from margnus1/hipe-spilllimit-fixSverker Eriksson
HiPE: Fix off-by-one bug in register allocators Fix for PR-1380
2017-03-27hipe: Fix range analysis of calls with ignored resMagnus Lång
HiPE's range analysis would not update the arguments of a callee when the result of the call was ignored. Fixes ERL-278.
2017-03-27Add a no_native option wherever there is an on_loadKostis Sagonas
This is a poor man's solution that allows to build and test the system with all files compiled to native code simply by setting the ERL_COMPILER_OPTS environment variable. Better solutions, like automatically setting the no_native option whenever the compiler sees an on_load attribute, obviously exist but require more time to implement.
2017-03-27hipe: Fix range analysis of 'rem' operatorMagnus Lång
erl_bif_types contains a fixed and improved copy-paste (obvious from the dead Max_range2_leq_zero if branches) of hipe_icode_range:range_rem/2. For now, delete the dead code and propagate back fixes and improvements to hipe_icode_range.
2017-03-27Merge pull request #1389 from josevalim/patch-10Björn Gustavsson
Remove inets from runtime dependencies in tools
2017-03-27Merge pull request #1388 from bjorng/bjorn/travis/smoke-test-hipeBjörn Gustavsson
Smoke test HiPE in the 32-bit build
2017-03-24Remove inets from runtime dependencies in toolsJosé Valim
Commit d8ff1e3 removed cover_web and therefore tools no longer depends on inets.
2017-03-24Fix double hit bug of select/3 with bound keySverker Eriksson
2017-03-24Smoke test HiPE in the 32-bit buildBjörn Gustavsson
HiPE is tested when running dialyzer in the 64-bit build. To avoid running out of memory or time, dialyzer is not run in the 32-bit build job. Do a smoke test of HiPE by letting dialyzer create a small PLT. We could catch more bugs by using 'configure --enable-native-libs', but I am worried that the build would not finish in 50 minutes (the time limit for a Travis job).
2017-03-24Merge branch 'egil/compiler/is_tagged_tuple/OTP-12148'Björn-Egil Dahlberg
* egil/compiler/is_tagged_tuple/OTP-12148: Update primary bootstrap compiler: Cover beam_record in tests hipe: Transform is_tagged_tuple instruction compiler: Add is_tagged_tuple instruction
2017-03-24Update primary bootstrapBjörn-Egil Dahlberg
2017-03-24compiler: Cover beam_record in testsBjörn-Egil Dahlberg