aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
AgeCommit message (Collapse)Author
2017-04-20Update primary bootstrapBjörn Gustavsson
2017-03-24Update primary bootstrapBjörn-Egil Dahlberg
2017-02-01Update primary bootstrapBjörn Gustavsson
2017-01-13Update primary bootstrapBjörn Gustavsson
2016-11-28Update primary bootstrapBjörn Gustavsson
2016-11-23Update primary bootstrapBjörn Gustavsson
2016-10-14erts: Fix early hipe patch loadingSverker Eriksson
by introducing hipe_bifs:commit_patch_load/1 that creates the HipeModule.
2016-10-14erts: Move new hipe ref and sdesc lists to loader stateSverker Eriksson
2016-10-14Add a loader state for HiPE code loadingMagnus Lång
Just like the BEAM loader state (as returned by erlang:prepare_loading/2), the HiPE loader state is contained in a magic binary. Eventually, we will separate HiPE loading into a prepare and a finalise phase, like the BEAM loader, where the prepare phase will be implemented by hipe_unified_loader and the finalise phase be implemented in C by hipe_load.c and beam_load.c, making prepare side-effect free and finalise atomic. The finalise phase will be exposed through the erlang:finish_loading/1 API, just like the BEAM loader, as this will allow HiPE and BEAM modules to be mixed in the same atomic "commit". The usage of a loader state makes it easier to keep track of all resources allocated during loading, and will not only make it easy to prevent leaks when hipe_unified_loader crashes, but also paves the way for proper, leak-free, unloading of HiPE modules.
2016-10-10erts: Improve hipe load/upgrade/purge machinerySverker Eriksson
A step toward better integration of hipe load and purge Highlights: * code_server no longer needs to call hipe_unified_loader:post_beam_load/1 Instead new internal function hipe_redirect_to_module() is called by loading BIFs to patch native call sites if needed. * hipe_purge_module() is called by erts_internal:purge_module/2 to purge any native code. * struct hipe_mfa_info redesigned and only used for exported functions that are called from or implemented by native code. A list of native call sites (struct hipe_ref) are kept for each hipe_mfa_info. * struct hipe_sdesc used by hipe_find_mfa_from_ra() to build native stack traces.
2016-09-29Update primary bootstrapBjörn Gustavsson
2016-06-29Update primary bootstrapBjörn Gustavsson
2016-04-18Update primary bootstrapBjörn Gustavsson
2016-03-21Update primary bootstrapBjörn Gustavsson
2016-02-26Update primary bootstrapBjörn Gustavsson
2015-12-17Update primary bootstrapBjörn Gustavsson
2015-09-21Update primary bootstrapBjörn Gustavsson
2015-08-24Update primary bootstrapBjörn Gustavsson
2015-06-04Update primary bootstrapBjörn Gustavsson
2015-05-07Set module_info md5 for native modules properlyRichard Carlsson
Use the md5 of the native code chunk instead of the Beam code md5.
2015-04-16Update primary bootstrapBjörn Gustavsson
2015-02-03Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap Be more careful about map patterns when evalutating element/2 Do not convert map patterns to map expressions Conflicts: bootstrap/lib/compiler/ebin/sys_core_fold.beam lib/compiler/test/match_SUITE.erl
2015-01-16Update primary bootstrapBjörn Gustavsson
2015-01-12Update primary bootstrapBjörn Gustavsson
2014-12-09Update primary bootstrapMarcus Arendt
2014-10-03Update primary bootstrapBjörn-Egil Dahlberg
2014-09-01Update primary bootstrapBjörn Gustavsson
2014-03-26Update primary bootstrapBjörn Gustavsson
2014-03-04Update primary bootstrapBjörn Gustavsson
2013-12-18Update primary bootstrapBjörn Gustavsson
2013-12-05Update primary bootstrapSverker Eriksson
2013-09-09Merge branch 'maint'Fredrik Gustafsson
Conflicts: bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
2013-09-05Updated primary bootstrapFredrik Gustafsson
2013-05-06Update primary bootstrapHans Bolinder
2013-03-19Update primary bootstrapBjörn Gustavsson
2013-02-11Update primary bootstrapBjörn Gustavsson
2013-02-04Update primary bootstrapBjörn Gustavsson
2013-01-09Update primary bootstrapBjörn Gustavsson
2012-10-10Update primary bootstrapBjörn Gustavsson
2012-06-25Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap sys_pre_expand: Eliminate bottleneck for modules with many functions Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/kernel/ebin/file.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
2012-06-25Update primary bootstrapBjörn Gustavsson
2012-02-28Update primary bootstrap hipe_unified_loaderPatrik Nyblom
2012-01-04Update primary bootstrapBjörn Gustavsson
2011-11-28Update primary bootstrapBjörn Gustavsson
2011-11-07Update primary bootstrapBjörn Gustavsson
2011-10-07Update primary bootstrapHenrik Nord
2011-08-25Update primary bootstrapBjörn Gustavsson
2011-05-20Update primary bootstrapBjörn-Egil Dahlberg
2011-03-30Update primary bootstrapBjörn Gustavsson
2011-03-11Update primary bootstrapBjörn-Egil Dahlberg