Commit Graph

9831 Commits

Author SHA1 Message Date
Matthew Flatt
83e5376d62 more bzeros on ofm_malloc'd memory
svn: r12324
2008-11-05 23:35:36 +00:00
Jay McCarthy
2be9c6b115 Moving TODOs
svn: r12323
2008-11-05 23:19:16 +00:00
Jay McCarthy
d9be3d0c4b Improving contracts on web lang
svn: r12322
2008-11-05 23:09:14 +00:00
Jay McCarthy
93cb8bab4d TODOs and contracts
svn: r12321
2008-11-05 22:48:46 +00:00
Jay McCarthy
326540df07 Moving TODOs
svn: r12320
2008-11-05 22:44:08 +00:00
Jay McCarthy
791d43ecd3 Moving TODOs
svn: r12319
2008-11-05 22:41:17 +00:00
Jay McCarthy
f046f218b8 Better contracts
svn: r12318
2008-11-05 22:39:39 +00:00
Jay McCarthy
05f36015d5 Better contracts
svn: r12317
2008-11-05 22:31:55 +00:00
Jay McCarthy
f33a5dbf26 Improving docs
svn: r12316
2008-11-05 22:26:56 +00:00
Jay McCarthy
c129307cd4 Clarifying docs
svn: r12315
2008-11-05 22:16:00 +00:00
Jay McCarthy
88c842bd06 Cleanup
svn: r12314
2008-11-05 22:05:13 +00:00
Matthew Flatt
2fc429a9d7 clear allocated freeblocks array
svn: r12313
2008-11-05 21:51:11 +00:00
Matthew Flatt
6ccb6a0137 adjust gc2 to access mzconfig.h header in build idrectory
svn: r12311
2008-11-05 21:31:32 +00:00
Kevin Tew
851ef83218 [gc2] x86_64 fix
svn: r12310
2008-11-05 21:10:50 +00:00
Kevin Tew
49fa1ab8ed Changed all mallocs to ofm_mallocs that report a nice error message and abort
svn: r12309
2008-11-05 21:10:44 +00:00
Kevin Tew
1f7e962fe6 GC global usage moved to GC_get_GC()
svn: r12308
2008-11-05 21:10:36 +00:00
Kevin Tew
83fbfd72cb Remove a couple more usages of the global GC
svn: r12307
2008-11-05 21:10:29 +00:00
Kevin Tew
4b29ac09c3 Reduced all THREAD local GC usage to NewGC *gc = GC; to be replaces with GC_get_GC()
svn: r12306
2008-11-05 21:10:21 +00:00
Kevin Tew
1d5d7ea18f Removed GC global and ACTUALLY_USED macros from allocators
svn: r12305
2008-11-05 21:10:13 +00:00
Kevin Tew
90f1c78c53 OS X fixes
svn: r12304
2008-11-05 21:10:04 +00:00
Kevin Tew
8220f558c3 More cleanup of the vm_* layer
svn: r12303
2008-11-05 21:09:58 +00:00
Kevin Tew
6fb0437222 Build on Windows fixes
svn: r12302
2008-11-05 21:09:50 +00:00
Kevin Tew
a714ab06f8 Moved protect_range to NewGC struct
svn: r12301
2008-11-05 21:09:43 +00:00
Kevin Tew
6c3555f2a2 Moved OTEntry to NewGC struct
svn: r12300
2008-11-05 21:09:36 +00:00
Kevin Tew
397e42ae06 Moved freeblock to NewGC struct
svn: r12299
2008-11-05 21:09:30 +00:00
Kevin Tew
af34446ec3 GC2 builds with and without blame the child, blame the child is more cleanly separated
svn: r12298
2008-11-05 21:09:24 +00:00
Kevin Tew
03548173f1 Allow compact GC to get a little further before SIGSEGV
svn: r12297
2008-11-05 21:09:17 +00:00
Kevin Tew
8983dd96f3 More pagemap caching
svn: r12296
2008-11-05 21:09:12 +00:00
Kevin Tew
7f2ee89d4f Attempt to cache mark_table use
svn: r12295
2008-11-05 21:09:06 +00:00
Kevin Tew
f8add652eb Improve fixup_table caching
svn: r12294
2008-11-05 21:09:00 +00:00
Kevin Tew
100770fef3 Attempt to recover speed loss with pagemaps
svn: r12293
2008-11-05 21:08:55 +00:00
Kevin Tew
f82068bce1 Whitespace blame_the_child.c
svn: r12292
2008-11-05 21:08:48 +00:00
Kevin Tew
5ad3d5466e Moved lots of blame_the_child flats to NewGC struct
svn: r12291
2008-11-05 21:08:43 +00:00
Kevin Tew
0366385251 eliminated a GC-> dereference in roots.c
svn: r12290
2008-11-05 21:08:36 +00:00
Kevin Tew
4f9e9a9c19 Fixed compiler warning
svn: r12289
2008-11-05 21:08:30 +00:00
Kevin Tew
4d0cdd5b9d Moved weak.c statics to NewGC struct
A little cleanup to help my static analysis tool

svn: r12288
2008-11-05 21:08:24 +00:00
Kevin Tew
b6add696af Moved static roots to NewGC
svn: r12287
2008-11-05 21:08:17 +00:00
Kevin Tew
5f10e2d80e Cleaned up newgc_parts and newgc_internal.h
svn: r12286
2008-11-05 21:08:11 +00:00
Kevin Tew
06f3c07d42 Move fnls statics to NewGC struct
svn: r12285
2008-11-05 21:08:02 +00:00
Kevin Tew
10a8d7ce76 Removed function local statics from garbage_collect
renamed some GC to gc

svn: r12284
2008-11-05 21:07:55 +00:00
Kevin Tew
da2d5987cb Refactored ifs to be contract checks at beginning of code. Reduces nesting.
svn: r12283
2008-11-05 21:07:49 +00:00
Kevin Tew
615003c4e8 Cleaned up clean_up_heap
svn: r12282
2008-11-05 21:07:43 +00:00
Kevin Tew
7e56ab9d40 Whitespace fixes and added gen1_free_mpage helper function
svn: r12281
2008-11-05 21:07:37 +00:00
Kevin Tew
453e20fd12 Refactored code into gen0_free_big_pages
svn: r12280
2008-11-05 21:07:32 +00:00
Kevin Tew
4961879ff7 Cleanup
svn: r12279
2008-11-05 21:07:26 +00:00
Kevin Tew
498a7cd75b THREAD_LOCAL 3m
svn: r12278
2008-11-05 21:07:20 +00:00
Kevin Tew
94fd055498 Moved pages to NewGC->gen1_pages
svn: r12277
2008-11-05 21:07:12 +00:00
Kevin Tew
2276702c19 Moved page_map to NewGC struct
svn: r12276
2008-11-05 21:07:06 +00:00
Kevin Tew
88a778fc12 Whitespace fix
svn: r12275
2008-11-05 21:06:59 +00:00
Kevin Tew
2b39b8bb37 Moved find_page to pagemap_find_page
svn: r12274
2008-11-05 21:06:54 +00:00