Commit Graph

156 Commits

Author SHA1 Message Date
Vitor Santos Costa
a1a4ac9d0b fix dlmalloc 2016-06-17 15:50:04 +01:00
V'itor Santos Costa
74b2b5561d - add debugging code to memory allocation
= atom to number: cleanup function name as this is more than just supporting SWI
- SrcMask only applies to rules.
- add auxiliary type/error function
- fix typos
- fix enumeration mode in current_flag
- get rid of TrueName routines, use AbsoluteFileName instead.
- detail synatx error source
2016-02-11 06:03:33 -08:00
Vítor Santos Costa
8fcceb9957 Always know size limits 2015-11-05 15:24:03 +00:00
Vítor Santos Costa
b871f6676e fix error handling 2015-09-25 10:57:26 +01:00
Vítor Santos Costa
4336b2ba88 Avoid complaining from strlen
`
2015-09-21 17:05:36 -05:00
Vítor Santos Costa
2a20217c46 drop unnecessary cast 2015-07-22 18:59:57 -05:00
Vítor Santos Costa
3c0a65218b use stdbool 2014-09-09 23:50:43 -05:00
Vítor Santos Costa
99713d81a6 replace locks by critical sections in interrupt handling 2014-09-02 14:19:23 -05:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vítor Santos Costa
7e85bfd4a4 yapor support by João Silva 2014-03-07 23:07:46 +00:00
Vítor Santos Costa
84bd55df0d continue cleanup 2013-11-16 00:27:02 +00:00
U-w7\vsc
1391dabd04 remove debugging info 2013-10-29 16:28:30 +00:00
Vitor Santos Costa
e19a910152 use private memory for yapor's alloc 2013-10-16 09:44:34 +01:00
Vitor Santos Costa
459ab89d7d more ezo stuff 2013-06-28 21:15:03 -05:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vitor Santos Costa
2e6360738c itry to use size_t
fix overflow handling bugs.
2012-12-14 19:35:26 +00:00
Vitor Santos Costa
9107af2e3d improve thread startup 2012-12-13 18:12:50 +00:00
Vitor Santos Costa
1fbd5c268b extend WorkSpace 2012-06-01 16:39:06 +01:00
Ubuntu32
c74cc23940 ifix bad prototype. 2011-12-07 08:36:10 -08:00
Vítor Santos Costa
df05859cb4 fix maximum limit for expanding area. 2011-10-21 22:05:28 +01:00
Vitor Santos Costa
9d8e7ed034 indent alloc.c 2011-09-04 19:22:08 +02:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa
b55ffd0089 fix warning message. 2011-07-26 21:05:16 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Joao
77171d4179 fix Yap debug. 2011-06-20 14:49:24 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao
676dd26c90 change macros in misc/GLOBALS to GLOBAL_. 2011-05-10 10:06:51 +01:00
Ricardo Rocha
026616963c remove FOREIGN_ macros and use REMOTE_ instead 2011-05-09 20:19:49 +01:00
Ricardo Rocha
f22994edf9 remove macro MY_ThreadHandle and use LOCAL_ThreadHandle instead 2011-05-09 19:55:06 +01:00
Ricardo Rocha
a532b6cff3 struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS) 2011-05-09 19:36:51 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vítor Santos Costa
442e5e0b81 make sure we always allocate aligned quantities. 2011-04-15 23:04:23 +01:00
Joao
f890a11377 change macros GLOBAL to Yap 2011-03-29 18:19:18 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
961d718ca8 fix debugging info. 2011-03-22 09:31:37 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
7670ce631b WIN32 patches 2011-03-21 17:07:58 +00:00
Costa@WIN-ENP104VVO3U.(none)
9e89308fd4 fix bad initial memory allocation in WIN32. 2011-03-21 14:27:29 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vitor Santos Costa
d024e9f0ae ask YAP to get memory step by step in 64 bit maachines. 2011-01-20 11:59:54 -06:00
Vítor Santos Costa
a906bd58d6 remove debugging info 2010-06-19 14:37:07 +01:00
Vítor Santos Costa
c52dda489b be careful around 1L and friends 2010-05-11 00:18:12 +01:00
Vítor Santos Costa
11641c5f94 64 bit cleanups. 2010-05-06 15:00:44 +01:00
Vítor Santos Costa II
c4b12d5cbe - fix memory leaks
- avoid unnecessary mallocs by having a first alloc to do th ework.
2010-04-15 22:23:54 +01:00
Vitor Santos Costa
78b3213d5a add debugging info to system_malloc 2010-04-15 11:37:15 +01:00
Vitor Santos Costa
d5e1ff38f4 new interface to access globals. They are not in a file called GLOBALS, from which
we generate several files automatically.
2010-03-21 22:12:42 +00:00
vsc
f8070bdd59 YAPOR: lock memory allocation under YAPOR/dlmalloc 2010-02-03 22:54:47 +00:00
Vitor Santos Costa
c8ee7259d7 allow MMAP variable on OSX. 2010-01-25 12:29:27 +00:00
Vitor Santos Costa
8213d52af4 fix bad call to realloc (nf patches). 2009-11-27 18:46:11 +00:00
Vítor Manuel de Morais Santos Costa
b16623d026 fix realloc and friends (obs from Nuno Fonseca). 2009-11-27 13:31:03 +00:00
Vitor Santos Costa
d476e36a90 initialise LOCAL in system_malloc (obs from Jose Santos). 2009-11-19 08:25:08 +00:00