Commit Graph

9703 Commits

Author SHA1 Message Date
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
Kevin Tew
507abe699c Move Weak_Finalizer and GC_Thread_Info to struct NewGC
svn: r12273
2008-11-05 21:06:47 +00:00
Kevin Tew
3577b42a1a Moved run_queue and last_in_queue to NewGC struct
svn: r12272
2008-11-05 21:06:41 +00:00
Kevin Tew
13f3eefa6c Moved normal_*_mark to NewGC struct
svn: r12271
2008-11-05 21:06:34 +00:00
Kevin Tew
a8b5999a19 Moved stack_base to NewGC struct
svn: r12270
2008-11-05 21:06:27 +00:00
Kevin Tew
d158420c94 Moved immobile boxes to their own c file, moved immobile_boxes to NewGC struct
svn: r12269
2008-11-05 21:06:21 +00:00
Kevin Tew
4557c6cef1 Move Mark_Proc Fixup_Proc and memory_in_use to NewGC struct
svn: r12268
2008-11-05 21:06:14 +00:00
Kevin Tew
dee6deb1be Move avoid_collection to NewGC struct
svn: r12267
2008-11-05 21:06:07 +00:00
Kevin Tew
c2e28f8d70 Move release_page to NewGC struct
svn: r12266
2008-11-05 21:06:01 +00:00
Kevin Tew
5a76a7b3bb Moved gc_full to NewGC struct
svn: r12265
2008-11-05 21:05:55 +00:00
Kevin Tew
79bac843cb rename int_top mark_stack
svn: r12264
2008-11-05 21:05:49 +00:00
Kevin Tew
50c5dc8df2 Make zero_sized const
svn: r12263
2008-11-05 21:05:44 +00:00
Kevin Tew
8fbdf6b9f2 Moved more globals to NewGC
svn: r12262
2008-11-05 21:05:38 +00:00
Kevin Tew
2c265f832a Moved parks into NewGC
svn: r12261
2008-11-05 21:05:32 +00:00
Kevin Tew
fa1335ea8c Moved pagesize counters to NewGC struct
svn: r12260
2008-11-05 21:05:24 +00:00
Kevin Tew
3ac1cb8d56 Moving thing to structs
svn: r12259
2008-11-05 21:05:17 +00:00
Kevin Tew
e7f5cf86e9 Cleaned up nursery routines
svn: r12258
2008-11-05 21:05:11 +00:00
Kevin Tew
645ccd5104 Refactor new utility function create_new_mpage, whitespace cleanup
svn: r12257
2008-11-05 21:05:05 +00:00
Kevin Tew
c2bc33ea64 Fixed info on long w
svn: r12256
2008-11-05 21:05:00 +00:00
Kevin Tew
3b3197ecc6 Reorg of gc2/vm_* and alloc_cache
svn: r12255
2008-11-05 21:04:54 +00:00
Kevin Tew
aac8d83084 Renamed some variables
svn: r12254
2008-11-05 21:04:47 +00:00
Kevin Tew
5f5bd756f0 Cleanedup determine_max_heap_size not to use heap,
svn: r12253
2008-11-05 21:04:41 +00:00
Kevin Tew
d2ef05d1b7 Fixed missing space in $(MAKE)../mzscheme_compact_gc
svn: r12252
2008-11-05 21:04:36 +00:00
Kevin Tew
a4b99783d7 Split out platform specific defines to common header file
svn: r12251
2008-11-05 21:04:30 +00:00
Kevin Tew
77df801ad1 Builds both new gc versions by default in gc2 dir
svn: r12250
2008-11-05 21:04:24 +00:00
Kevin Tew
e00cf58d73 Removed outdated, not needed GC_malloc_pair, GC_malloc_mutable_pair
svn: r12249
2008-11-05 21:04:18 +00:00
Kevin Tew
d290f569bf Split definitions out to header file, beginning of re-entry gc
svn: r12248
2008-11-05 21:04:10 +00:00
Kevin Tew
58eaf2a88a Move page type constants to an enum
svn: r12247
2008-11-05 21:04:02 +00:00
Kevin Tew
22706f29b6 Separate out blame the child
svn: r12246
2008-11-05 21:03:56 +00:00