summaryrefslogtreecommitdiff
path: root/lmem.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-1/+1
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* allocation function is not exactly API (and cannot raise errorsRoberto Ierusalimschy2015-03-061-3/+2
| | | | like other API functions); better not use 'api_check' for cheking it.
* do not attempt emergency collection while building state (it isRoberto Ierusalimschy2015-03-031-3/+5
| | | | useless, and state can be inconsistent)
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-021-2/+2
| | | | international name
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-4/+4
|
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-151-2/+2
|
* emergency collection can happen even when collector is stoppedRoberto Ierusalimschy2014-06-261-5/+3
|
* removed debug codeRoberto Ierusalimschy2012-05-231-17/+1
|
* avoid 'return' "to avoid warnings"Roberto Ierusalimschy2011-11-301-3/+2
|
* detail in extra trace code: total bytes is given by 'gettotalbytes',Roberto Ierusalimschy2011-09-201-2/+2
| | | | not by 'totalbytes' counter.
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-3/+2
| | | | is too critical to update two counters
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-8/+5
|
* typos in commentsRoberto Ierusalimschy2010-05-051-3/+3
|
* changes in patch to monitor garbage collectionRoberto Ierusalimschy2010-05-041-10/+6
|
* wrong commentRoberto Ierusalimschy2010-04-301-2/+2
|
* new way to control GC speedRoberto Ierusalimschy2010-04-291-4/+7
|
* added proper code to trace garbage collectionRoberto Ierusalimschy2010-04-021-1/+23
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-171-9/+9
| | | | when 'ptr' is NULL.
* detailsRoberto Ierusalimschy2006-09-141-3/+3
|
* little better error messages for internal arrays overflowsRoberto Ierusalimschy2006-09-141-2/+2
|
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-6/+19
|
* removal of dead codeRoberto Ierusalimschy2005-12-261-17/+1
|
* detailsRoberto Ierusalimschy2005-02-231-8/+8
|
* auxiliar patch to monitor garbage collectionRoberto Ierusalimschy2005-01-141-1/+17
|
* better control of overflows in size computationsRoberto Ierusalimschy2004-12-011-8/+6
|
* better control over memory-size overflowsRoberto Ierusalimschy2004-11-191-8/+13
|
* better control for GC cyclesRoberto Ierusalimschy2004-08-301-3/+2
|
* new scheme for configuration through `luaconf.h'Roberto Ierusalimschy2004-04-301-1/+2
|
* avoid overflow when doubling sizeRoberto Ierusalimschy2003-11-271-8/+11
|
* Lua kernel does not use malloc/free functions.Roberto Ierusalimschy2003-10-021-38/+27
|
* each .c file defines its own nameRoberto Ierusalimschy2002-12-041-1/+3
|
* global_State must be deallocated (and so allocated) with NULL alsoRoberto Ierusalimschy2002-11-211-2/+4
| | | | (otherwise it trys to decrement inside itself after its own free)
* assertion must be always valid (not only in debug mode)Roberto Ierusalimschy2002-10-251-1/+2
|
* new ANSI C does not assure that realloc(p,0) == free(p)Roberto Ierusalimschy2002-10-081-6/+13
|
* new protocol for error handlingRoberto Ierusalimschy2002-06-181-2/+2
|
* Lua now uses only `realloc' for all its memory managementRoberto Ierusalimschy2002-06-111-4/+11
|
* new format for error messagesRoberto Ierusalimschy2002-05-151-3/+4
|
* new way to handle errorsRoberto Ierusalimschy2002-05-011-2/+2
|
* new way to handle errorsRoberto Ierusalimschy2002-04-221-4/+4
|
* no more explicit support for wide-chars; too much troble...Roberto Ierusalimschy2001-11-281-4/+3
|
* no more MINPOWER2Roberto Ierusalimschy2001-10-251-5/+8
|
* better syntax for type castsRoberto Ierusalimschy2001-08-311-3/+4
|
* new way to handle `profiles'Roberto Ierusalimschy2001-03-261-1/+2
|
* first (big) step to support wide charsRoberto Ierusalimschy2001-02-231-3/+3
|
* better separation between basic typesRoberto Ierusalimschy2001-02-201-4/+4
|
* better use of extra include files (both for tests and for old_ansi)Roberto Ierusalimschy2001-02-061-109/+6
|
* detailsRoberto Ierusalimschy2001-02-051-5/+5
|
* macros LUA_ENTRY/LUA_EXIT to control exclusive access to Lua coreRoberto Ierusalimschy2001-01-241-3/+3
|
* thead-specific state separated from "global" stateRoberto Ierusalimschy2001-01-191-4/+4
|