[root]/SimulationRuntime/c/meta/gc
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 145 (100.0%) | 4988 (100.0%) | 34.4 |
adrpo | 40 (27.6%) | 4137 (82.9%) | 103.4 |
sjoelund.se | 63 (43.4%) | 469 (9.4%) | 7.4 |
hudson | 19 (13.1%) | 280 (5.6%) | 14.7 |
hkiel | 4 (2.8%) | 56 (1.1%) | 14.0 |
perost | 6 (4.1%) | 29 (0.6%) | 4.8 |
mahge930 | 8 (5.5%) | 8 (0.2%) | 1.0 |
lochel | 1 (0.7%) | 4 (0.1%) | 4.0 |
wbraun | 2 (1.4%) | 3 (0.1%) | 1.5 |
Frenkel TUD | 2 (1.4%) | 2 (0.0%) | 1.0 |
- more proper RML cleanup
1 lines of code changed in 1 file:
Updated copyright notices to 2014
- The script uses regex to update copyright notices since we have different years in there
1 lines of code changed in 1 file:
Update runtime code to OSMC-PL 1.2 runtime license (BSD 3-clause, GPLv3, or OSMC-PL conditions)
36 lines of code changed in 2 files:
SimulationRuntime/c/util/string_util.c
- proper type sizes for 32 bit
- fix cycle in reading of csv file for test
simulation/libraries/msl32_cpp/Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.mos
CodegenC.tpl
- remove useless comment in the generated code.
Makefile.omdev.mingw
- compile GC with --enable-munmap=5 to return the free pages to OS after 5 GC cycles
C sources
- do not use alloc_*ignore_off_page so that we can debug better.
3 lines of code changed in 1 file:
- avoid stringListStringChar like the plague in Util.stringReplaceChar (use System.stringReplace)
- fix huge memory leak in System.stringReplace (basically the result was strdup-ed and never freed)
- enable Boehm GC in MSVC.
- still some issues with things like Util.xmlEscape as if the
string is rather big (40Mb or so) we will run out of memory as
Boehm GC will not kick in until the function returns as all the
temps are on the local stack!
4 lines of code changed in 1 file:
- cleanup MetaModelica GC interface, remove obsolete files
- use alloc atomic whenever possible
- use alloc ignore off page for array allocation as they are quite big
- register pointer displacement (0) and if RML_STYLE_TAGPTR is defined register pointer displacement (3) also
36 lines of code changed in 10 files:
- Inline some more MetaModelica functions
- OMCC: Combine the Absyn.INFO lines/columns into the OMCCTypes.TOKEN directly (1 fewer allocation)
16 lines of code changed in 5 files:
Fix includes in Simulation runtime. Keep them relative. Keep simulation runtime header structure in build directory.
8 lines of code changed in 8 files:
- Some small changes after investigating GC performance with different flags (enabling LARGE_CONFIG)
0 lines of code changed in 1 file:
Added threading support for loadFile(), called loadFiles(). Saves roughly 1/3 the time of loading the compiler sources using 5 threads.
3 lines of code changed in 2 files:
- fix calls of assertStreamPrint() and throwStreamPrint()
- fix some warnings
- reduce scope of objects
- "unsigned" -> "unsigned int" for better readability
3 lines of code changed in 2 files:
- The interface to generated code is now in a struct callback, to avoid conflicting names when we load dynamic libraries (FMU's)
- Fixed lots of clang warnings
2 lines of code changed in 1 file:
Fix the system_parallel implementation
4 lines of code changed in 1 file:
Fixes for not using RML-style pointer tagging (saves ~1% total time by being able to use atomic allocations)
3 lines of code changed in 1 file:
Some fixes to be able to mix RML and MM datatypes (and change the MM representation with a #define)
1 lines of code changed in 1 file:
Use GC_malloc instead of GC_MALLOC to be consistent
1 lines of code changed in 1 file:
Remove the memory pool, using GC_malloc in more places (including the bootstrapped compiler)
2 lines of code changed in 1 file:
Fewer global symbols, compile fewer functions
6 lines of code changed in 5 files:
Revert r15962 (accidently replaced 8 spaces with 2 spaces; was supposed to be 1 tab to 2 spaces but text editors messed up the command)
Contact me if you have problems merging your working copy
270 lines of code changed in 9 files:
[Janitor mode] Fix tabs
270 lines of code changed in 9 files:
[Janitor mode] Set auto-props
10 lines of code changed in 10 files:
Trim trailing whitespace
77 lines of code changed in 9 files:
- no GC for visual studio!
3 lines of code changed in 1 file:
- Enable boehm-gc by default
1 lines of code changed in 1 file:
- Updating makefiles so we can enable boehm when it works with dynamically loaded code
4 lines of code changed in 1 file:
- add the global root for boehm gc also
8 lines of code changed in 1 file:
- rename SimulationRuntime/c/meta/gc.* to SimulationRuntime/c/meta/mmc_gc.*
- to use the Boehm GC uncomment:
#define _MMC_USE_BOEHM_GC_
in SimulationRuntime/c/meta/mmc_gc.h
and recompile the SimulationRuntime/c and the bootstrapped compiler.
note that you will have to link omc or the bootstrapped compiler with Boehm GC
(for OMDev the flags are already in place but commented out, search for boehm in the Makefiles.omdev.mingw,
also the compiled libgc was added to OMDev).
211 lines of code changed in 7 files:
- initialization: update some function descriptions for better documentation
- Initialization: remove redundant data-structs
- initialization: minor fixes (e.g. memory leaks)
- initialization: do not longer handle hybrid system different for each initialization method
- testsuite: initialization: add new testcase for discrete changes during initialization
- testsuite: ThermoSysPro: update simulation results
- testsuite: fix failing tests regarding the number of intervals
- SimulationRuntime/c: avoid warnings
4 lines of code changed in 1 file:
- fixed coding style
- fixed some warings in c runtime
- fixed linearization test
3 lines of code changed in 2 files:
- Some cref prefixing fixes in SCodeInst.
- Fixed lots of clang warnings in the C code.
6 lines of code changed in 3 files:
- fix tests
1 lines of code changed in 1 file:
- Fix C-runtime encoding (UTF-8)
31 lines of code changed in 10 files:
- Got rid of more compiler warnings.
23 lines of code changed in 3 files:
- Improved tab detection
1 lines of code changed in 1 file:
- MAKE CLEAN is highly recommended!
Modelica.Media:
- fix some Modelica.Media code generation issues in CodegenC.expTypeFlag.
- fix a Modelica.Media bug in the library, see ticket: https://trac.modelica.org/Modelica/ticket/710
in libraries/Modelica 3.1/Media/IdealGases/Common/package.mo and updated libraries/README.
- add 2 more models that simulate now to the testsuite/libraries/msl31/media/simulate/Makefile (1 more to have full Modelica.Media)
Bootstrapping:
- collect inputs/outputs temps into tmpMeta.
- added System.tmpTickIndexReserve to get the index and reserve N.
- some preliminary changes to the GC (not ON yet), more updates to come.
- circumvent MinGW GCC 4.4.0 -O2/-O3 optimization issues via making the for iterator in matchcontinue be float (see meta_modelica.h)
note that if you use -O3 you will also need -fno-inline-functions (see testsuite/bootstrapping/LinkMain.makefile.mingw)
136 lines of code changed in 7 files:
- Fixed svn-eol-style
10 lines of code changed in 10 files:
- fixed function protottypes
53 lines of code changed in 2 files:
events.h: bugfix function definition
generational.c: avoid warning (vs)
1 lines of code changed in 1 file:
- add a prototype for void *mmc_alloc_bytes(unsigned nbytes);
1 lines of code changed in 1 file:
- port the changes to meta and GC to the new runtime.
not on yet and not all changes added.
- some fixes to linking for FMI on windows
- do not set the x=x before tailcall.
- fixes to the new runtime to be able to compile using VS
- use the safe real (union of words).
3734 lines of code changed in 10 files: