factor/vm
Björn Lindqvist 0798928996 VM: cleanup of some infrequently used functions that can be replaced with direct code
also replacing some bitshifts with easier to understand multiplies and
divides, they are equally fast nowadays
2015-02-28 14:14:30 -08:00
..
Config.arm GNUmakefile: use PCH so compiler goes faster 2011-11-08 08:42:46 -08:00
Config.linux vm: optionally set CC and CXX on macosx. 2014-06-06 15:13:48 -07:00
Config.linux.arm GNUmakefile: use PCH so compiler goes faster 2011-11-08 08:42:46 -08:00
Config.linux.ppc.32 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Config.linux.ppc.64 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Config.linux.x86.32 Build system cleanup 2007-09-22 00:41:17 -04:00
Config.linux.x86.64 GNUmakefile: Remove LIBPATH from the build system since nothing needs it. Fixes #1192. 2014-11-11 00:05:52 -08:00
Config.macosx GNUmakefile: Remove LIBPATH from the build system since nothing needs it. Fixes #1192. 2014-11-11 00:05:52 -08:00
Config.macosx.x86.32 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Config.macosx.x86.64 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Config.macosx.x86.fat Configs: CFLAGS isn't used by the GNUMakefile, change it to SITE_CFLAGS. 2013-03-23 12:10:37 -07:00
Config.unix Configs: CFLAGS isn't used by the GNUMakefile, change it to SITE_CFLAGS. 2013-03-23 12:10:37 -07:00
Config.windows VM: Remove exec bit from VM source files 2013-05-11 17:04:23 -04:00
Config.windows.x86.32 GNUmakefile: use PCH so compiler goes faster 2011-11-08 08:42:46 -08:00
Config.windows.x86.64 GNUmakefile: use PCH so compiler goes faster 2011-11-08 08:42:46 -08:00
Config.x86.32 vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Config.x86.64 vm: Typo for SITE_CFLAGS. Fixes #491. 2012-04-10 16:28:04 -07:00
Config.x86.fat GNUmakefile: use PCH so compiler goes faster 2011-11-08 08:42:46 -08:00
aging_collector.cpp VM: the unmarker classes are not needed, easier to just send the unmask pattern to the trace_cards function directly 2015-02-28 14:14:30 -08:00
aging_collector.hpp VM: the aging_collector and nursery_collector classes aren't needed because they are just simple instatiations of copying_collector 2014-12-04 10:23:33 -08:00
aging_space.hpp VM: no need for a nursery_space class, it's just a bump_allocator 2014-12-04 10:23:33 -08:00
alien.cpp alien.cpp: Add comment about allocation. 2013-11-28 10:59:45 -06:00
allot.hpp VM: no need for a nursery_space class, it's just a bump_allocator 2014-12-04 10:23:33 -08:00
arrays.cpp VM: refactoring that removes data_root_ranges 2014-06-12 13:50:10 -07:00
arrays.hpp vm: jit::jit is a c++ constructor but it does not allocate objects to the Factor heaps. 2014-02-14 20:29:26 -08:00
assert.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
atomic-cl-32.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
atomic-cl-64.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
atomic-gcc.hpp VM: Refactor atomic-* to Factor style 2013-05-12 13:24:40 -04:00
atomic.hpp VM: Refactor atomic.hpp to Factor style 2013-05-12 13:24:41 -04:00
bignum.cpp VM: fixed bignum_divide_unsigned_large_denominator so that it wont data_root-protect NULL-pointers 2014-11-17 17:27:36 -08:00
bignum.hpp VM: Refactor bignum to Factor style 2013-05-12 13:24:41 -04:00
bignumint.hpp VM: change the BIGNUM_TO_POINTER macro so that it automatically sees through tagged pointers 2014-11-17 17:27:34 -08:00
bitwise_hacks.hpp VM: Fix Windows VM build following type renaming 2013-05-13 18:18:48 -04:00
booleans.hpp VM: Refactor booleans.hpp to Factor style 2013-05-12 13:24:41 -04:00
bump_allocator.hpp VM: no need for a nursery_space class, it's just a bump_allocator 2014-12-04 10:23:33 -08:00
byte_arrays.cpp VM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents 2013-05-13 00:28:25 -04:00
byte_arrays.hpp vm: jit::jit is a c++ constructor but it does not allocate objects to the Factor heaps. 2014-02-14 20:29:26 -08:00
callbacks.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
callbacks.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
callstack.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
callstack.hpp VM: visit_roots and visit_contexts where always called in tandem, make a new method visit_all_roots that calls them both 2015-02-28 14:14:29 -08:00
code_blocks.cpp VM: better error message in case factor_vm::store_external_address fails 2015-01-28 14:58:22 +00:00
code_blocks.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
code_heap.cpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
code_heap.hpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
code_roots.hpp VM: Remove redundant #ifdef FACTOR_DEBUGs 2013-05-12 23:44:32 -04:00
collector.hpp VM: cleanup of some infrequently used functions that can be replaced with direct code 2015-02-28 14:14:30 -08:00
compaction.cpp VM: visit_roots and visit_contexts where always called in tandem, make a new method visit_all_roots that calls them both 2015-02-28 14:14:29 -08:00
contexts.cpp VM: change type of callstack_top and callstack_bottom from void* to cell 2015-01-15 09:29:13 +00:00
contexts.hpp VM: change type of callstack_top and callstack_bottom from void* to cell 2015-01-15 09:29:13 +00:00
copying_collector.hpp VM: Remove unnecessary _ suffix in constructors 2013-05-12 23:20:43 -04:00
cpu-arm.hpp VM: Refactor cpu-* to Factor style 2013-05-12 13:24:43 -04:00
cpu-ppc.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
cpu-ppc.linux.S 32 and 64 bit Linux PPC support 2011-05-23 23:36:14 -04:00
cpu-x86.32.hpp VM: Refactor cpu-* to Factor style 2013-05-12 13:24:43 -04:00
cpu-x86.64.hpp VM: Refactor cpu-* to Factor style 2013-05-12 13:24:43 -04:00
cpu-x86.cpp VM: change type of callstack_top and callstack_bottom from void* to cell 2015-01-15 09:29:13 +00:00
cpu-x86.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
data_heap.cpp VM: cleanup of some infrequently used functions that can be replaced with direct code 2015-02-28 14:14:30 -08:00
data_heap.hpp VM: replaced the reset_generation() generic method with one method for each generation 2015-01-15 09:29:14 +00:00
data_heap_checker.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
data_roots.hpp VM: FACTOR_ASSERT so that data_root never wraps a null pointer, cause if it does, random crashes can happen 2014-11-17 17:27:36 -08:00
debug.cpp VM: fix the debug printing so that instead of always printing to std::cout, you supply the stream to print to 2015-01-28 14:58:21 +00:00
dispatch.cpp vm: jit::jit is a c++ constructor but it does not allocate objects to the Factor heaps. 2014-02-14 20:29:26 -08:00
dispatch.hpp VM: Refactor dispatch to Factor style 2013-05-12 13:24:43 -04:00
entry_points.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
entry_points.hpp VM: change type of callstack_top and callstack_bottom from void* to cell 2015-01-15 09:29:13 +00:00
errors.cpp VM: fix the debug printing so that instead of always printing to std::cout, you supply the stream to print to 2015-01-28 14:58:21 +00:00
errors.hpp vm: Fail with out_of_memory() if mprotect returns ENOMEM. 2014-11-11 06:26:55 +00:00
factor.cpp vm: store full command-line including executable first argument. 2014-12-22 22:39:52 -08:00
factor.hpp VM: Refactor factor.cpp/hpp to Factor style 2013-05-12 13:24:43 -04:00
factor.rs vm: change id of windows app icon resource to more standard "APPICON" 2010-02-15 11:26:56 -08:00
ffi_test.c ffi: test functions for bug #1021 2014-11-10 23:22:35 -08:00
ffi_test.h ffi: test functions for bug #1021 2014-11-10 23:22:35 -08:00
fixup.hpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
float_bits.hpp VM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents 2013-05-13 00:28:25 -04:00
free_list.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
free_list.hpp VM: Refactor free_list to Factor style 2013-05-12 13:24:44 -04:00
free_list_allocator.hpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
full_collector.cpp VM: new function visit_mark_stack() to factor out the mark stack iteration 2015-02-28 14:14:29 -08:00
full_collector.hpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
gc.cpp VM: instead of passing around the trace_contexts_p arg, just clear the contexts in primitive_save_image_and_exit() it has the same effect but is simpler 2015-01-15 09:29:14 +00:00
gc.hpp VM: new primitive (callback-room) for querying the VM about memory usage 2014-09-29 07:30:21 -07:00
gc_info.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
gc_info.hpp VM: silly error: should be index * check_r_count, not index + check_r_count 2014-09-08 14:54:18 -07:00
generic_arrays.hpp VM: get rid of the duplicated nursery instance in vm->data->nursery 2014-11-21 02:16:03 -08:00
image.cpp VM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standardize the name "visitor" 2015-02-28 14:14:29 -08:00
image.hpp vm: Add threadsafe_sterror to the vm. 2014-07-04 03:00:08 -07:00
inline_cache.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
inline_cache.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
instruction_operands.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
instruction_operands.hpp VM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents 2013-05-13 00:28:25 -04:00
io.cpp vm: Annotate more places where we can gc. 2014-11-29 19:25:46 -06:00
io.hpp VM: Refactor io.cpp/hpp to Factor style 2013-05-12 13:24:45 -04:00
jit.cpp vm: Annotate more places where we can gc. 2014-11-29 19:25:46 -06:00
jit.hpp vm: Annotate more places where we can gc. 2014-11-29 19:25:46 -06:00
layouts.hpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
mach_signal.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
mach_signal.hpp VM: Refactor mach_signal to Factor style 2013-05-12 13:24:45 -04:00
main-unix.cpp VM: Refactor main-* to Factor style 2013-05-12 13:24:45 -04:00
main-windows.cpp VM: attempt to cancel blocking system calls when ctrl-c is pressed 2014-05-10 18:13:04 -07:00
mark_bits.hpp VM: removes the template parameter from mark_bits 2015-01-15 09:29:13 +00:00
master.hpp VM: fix the debug printing so that instead of always printing to std::cout, you supply the stream to print to 2015-01-28 14:58:21 +00:00
math.cpp vm: Annotate more places where we can gc. 2014-11-29 19:25:46 -06:00
math.hpp vm: generate a to_fixnum_strict to workaround an odd io.monitors issue. 2014-06-07 12:06:03 -07:00
mvm-none.cpp VM: Refactor mvm* to Factor style 2013-05-12 13:24:46 -04:00
mvm-unix.cpp VM: Refactor mvm* to Factor style 2013-05-12 13:24:46 -04:00
mvm-windows.cpp VM: attempt to cancel blocking system calls when ctrl-c is pressed 2014-05-10 18:13:04 -07:00
mvm.cpp VM: Refactor mvm* to Factor style 2013-05-12 13:24:46 -04:00
mvm.hpp VM: Refactor mvm* to Factor style 2013-05-12 13:24:46 -04:00
nursery_collector.cpp VM: the unmarker classes are not needed, easier to just send the unmask pattern to the trace_cards function directly 2015-02-28 14:14:30 -08:00
nursery_collector.hpp VM: the aging_collector and nursery_collector classes aren't needed because they are just simple instatiations of copying_collector 2014-12-04 10:23:33 -08:00
object_start_map.cpp VM: cleanup of some infrequently used functions that can be replaced with direct code 2015-02-28 14:14:30 -08:00
object_start_map.hpp VM: cleanup of some infrequently used functions that can be replaced with direct code 2015-02-28 14:14:30 -08:00
objects.cpp VM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standardize the name "visitor" 2015-02-28 14:14:29 -08:00
objects.hpp VM: renamed version and git-label to vm-version and vm-git-label. 2014-11-10 23:02:13 -08:00
os-genunix.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-genunix.hpp vm: Add threadsafe_sterror to the vm. 2014-07-04 03:00:08 -07:00
os-linux-arm.cpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-linux-arm.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-linux-ppc.32.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-linux-ppc.64.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-linux-x86.32.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-linux-x86.64.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-linux.cpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-linux.hpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-macosx-x86.32.hpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-macosx-x86.64.hpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-macosx.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
os-macosx.mm vm: fix OS X issue with using symlinks from outside $factor. 2014-12-03 19:19:52 -08:00
os-unix.cpp vm: Fail with out_of_memory() if mprotect returns ENOMEM. 2014-11-11 06:26:55 +00:00
os-unix.hpp vm: Fail with out_of_memory() if mprotect returns ENOMEM. 2014-11-11 06:26:55 +00:00
os-windows-x86.32.cpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-windows-x86.64.cpp VM: Fix Windows 64-bit build on Visual Studio 2012 2013-05-13 18:19:52 -04:00
os-windows.32.hpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-windows.64.hpp VM: Refactor os-* to Factor style 2013-05-12 13:24:46 -04:00
os-windows.cpp vm: Fail with out_of_memory() if mprotect returns ENOMEM. 2014-11-11 06:26:55 +00:00
os-windows.hpp vm: Simplify strerror code. 2014-07-05 18:58:24 -07:00
platform.hpp VM: Refactor platform.hpp to Factor style 2013-05-12 13:24:46 -04:00
primitives.cpp VM: Refactor primitives.cpp/hpp to Factor style 2013-05-12 13:24:46 -04:00
primitives.hpp VM: new primitive free-callback which is able to free a callback 2014-09-29 07:30:21 -07:00
quotations.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
quotations.hpp VM: Remove unnecessary _ suffix in constructors 2013-05-12 23:20:43 -04:00
run.cpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
run.hpp VM: Refactor run.cpp/hpp to Factor style 2013-05-12 13:24:47 -04:00
safepoints.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
safepoints.hpp VM: Refactor safepoints.cpp/hpp to Factor style 2013-05-12 13:24:47 -04:00
safeseh.asm VM: Remove exec bit from VM source files 2013-05-11 17:04:23 -04:00
sampling_profiler.cpp VM: some more fixing to make the types match better, converting void* to cell 2015-01-15 09:29:13 +00:00
sampling_profiler.hpp VM: Refactor sampling_profiler.cpp/hpp to Factor style 2013-05-12 13:24:47 -04:00
segments.hpp VM: Remove unnecessary explicit keywords 2013-05-12 21:48:38 -04:00
slot_visitor.hpp VM: new function visit_mark_stack() to factor out the mark stack iteration 2015-02-28 14:14:29 -08:00
strings.cpp VM: get rid of the duplicated nursery instance in vm->data->nursery 2014-11-21 02:16:03 -08:00
strings.hpp VM: Refactor strings.cpp/hpp to Factor style 2013-05-12 13:24:47 -04:00
tagged.hpp VM: Remove redundant #ifdef FACTOR_DEBUGs 2013-05-12 23:44:32 -04:00
tenured_space.hpp VM: simplified fixup_gc_workhorse::fixup_data by mering lots of functions only used once 2015-01-15 09:29:14 +00:00
to_tenured_collector.cpp VM: the unmarker classes are not needed, easier to just send the unmask pattern to the trace_cards function directly 2015-02-28 14:14:30 -08:00
to_tenured_collector.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
tuples.cpp VM: Refactor tuples.cpp/hpp to Factor style 2013-05-12 13:24:48 -04:00
tuples.hpp VM: Refactor tuples.cpp/hpp to Factor style 2013-05-12 13:24:48 -04:00
utilities.cpp VM: Refactor utilities.cpp/hpp to Factor style 2013-05-12 13:24:48 -04:00
utilities.hpp VM: Fixup cast formatting after clang-format 2013-05-13 14:59:24 -04:00
vm.cpp VM: Refactor vm.cpp/hpp to Factor style 2013-05-12 13:24:48 -04:00
vm.hpp VM: better error message in case factor_vm::store_external_address fails 2015-01-28 14:58:22 +00:00
words.cpp VM: change the definition of entry_point in word and quotation from void* to cell 2015-01-15 09:29:13 +00:00
write_barrier.hpp VM: cleanup of some infrequently used functions that can be replaced with direct code 2015-02-28 14:14:30 -08:00