Commit Graph

29723 Commits (b51617db16e33b39310f55fcd598b4b01612d7eb)

Author SHA1 Message Date
John Benediktsson d8554ad24e redis.command-writer: adding SWAPDB command.
See: c7a4e694ad
2016-10-14 16:54:32 -07:00
Sankaranarayanan Viswanathan d59b2d2f3d menus: ESC should close menu popup 2016-10-14 07:57:02 -07:00
Björn Lindqvist 3911f7b88c VM: init_data_heap() isn't needed 2016-10-14 13:52:44 +02:00
Björn Lindqvist 67bb9a7c71 VM: checking addresses differ before memmoving
It appears to speed up compaction a bit in cases where only a few
objects need to move.
2016-10-14 13:52:44 +02:00
Björn Lindqvist aace892527 VM: rename of collect_growing_heap_op and collect_growing_heap()
The idea is to "make room" for collect_growing_code_heap_op and
collect_growing_code_heap() to enable code heap growth.
2016-10-13 02:13:09 +02:00
Björn Lindqvist 55e6ccb708 VM: remove the reversing from sampling profiler callstack collection #452 2016-10-13 01:34:55 +02:00
Björn Lindqvist 46105b62f6 VM: change callstack>array primitive so it doesn't reverse anymore
This fixes one part of the #452 bug.
2016-10-13 01:34:55 +02:00
Björn Lindqvist 98db13fe9d VM: merge of clone_object() and primitive_clone() 2016-10-13 01:34:55 +02:00
John Benediktsson 8a720c7889 concurrency.semaphores: fix typo in docs. 2016-10-12 10:14:09 -07:00
Björn Lindqvist 716bc89c53 webapps.*: make it so the webapps aren't initialized when compiling the vocabs
Because if they are then load-all will error out if you don't have the
needed dlls installed.
2016-10-09 10:24:31 +02:00
Björn Lindqvist 32825b9f5f bootstrap.image.primitives: array>quotation can't be foldable 2016-10-09 00:47:37 +02:00
Björn Lindqvist 88b2ed482c math.parser: (format-float) can only be flushable 2016-10-09 00:47:37 +02:00
Björn Lindqvist bbd71ae975 math.parser: (format-float) doesn't need to zero-terminate returned byte-array 2016-10-09 00:47:37 +02:00
Björn Lindqvist 560900275a tools.image-analyzer.gc-info.tests: trying again to fix the test 2016-10-08 16:42:32 +02:00
Björn Lindqvist 402a416ace tools.image-analyzer.gc-info.tests: fix tc so it works on windows 2016-10-08 13:55:44 +02:00
Björn Lindqvist 2b366028bb tools.image-analyzer.gc-info: updating vocab to work with new gc system 2016-10-08 09:52:35 +02:00
Björn Lindqvist 43e5118591 FUEL: support for the HINTS: syntax 2016-10-08 07:13:46 +02:00
Björn Lindqvist ac44f3069a VM: indent comment and change error message 2016-10-08 07:13:08 +02:00
Björn Lindqvist ae9818db87 VM: simpler code for find_object_containing_card 2016-10-08 07:11:47 +02:00
Björn Lindqvist 8cacf7bf8d VM: simpler code for reallot_array 2016-10-08 07:10:26 +02:00
Björn Lindqvist a102f7ad5d compiler.cfg.*: bunch of doc updates 2016-10-08 07:08:00 +02:00
Björn Lindqvist c2f4fdb172 VM: merge of the free_list and free_list_allocator classes
Seem simpler to have all the free list stuff in one class rather than
split it over two classes.
2016-10-08 07:04:28 +02:00
Björn Lindqvist f0eec26f3c VM: reorg and more comments 2016-10-08 07:04:28 +02:00
Sankaranarayanan Viswanathan fe9ceffad5 tools.walker: Improve docs for breakpoint words 2016-10-07 16:05:04 -07:00
Sankaranarayanan Viswanathan 25a9b9a92a ui.gadget.menus: improve show-menu 2016-10-07 16:04:43 -07:00
John Benediktsson 2628dbc5c9 io.directories.search.windows: merging with io.standard-paths.windows. 2016-10-06 14:57:40 -07:00
John Benediktsson 2063703354 editors.notepad: cleanup using. 2016-10-06 14:56:56 -07:00
John Benediktsson 303367c57a io.launcher.windows: need to USE: io.launcher.private. 2016-10-06 13:50:04 -07:00
John Benediktsson 8f6ac5d457 Revert "hash-sets,hashtables: make it so the array backing the hash is non-empty"
This reverts commit 6f10f06c27.
2016-10-06 11:18:41 -07:00
John Benediktsson db46b16d10 Revert "hash-sets,hashtables: improved key@ word"
This reverts commit 70c7f9e029.
2016-10-06 11:18:35 -07:00
Björn Lindqvist 6f10f06c27 hash-sets,hashtables: make it so the array backing the hash is non-empty
Commit 70c7f9e029 made it so the code
assumes the array is not empty. But it can be empty if the hashtable is
created using "hashtable new" and then it can crash because it reads
uninitialized memory. Setting the initial of the array slot to
a valid hash-array should fix that.
2016-10-05 19:19:39 +02:00
Björn Lindqvist 78d9065db0 VM: UAP_SET_TOC_POINTER appears to be a noop on all platforms 2016-09-29 07:14:30 +02:00
Björn Lindqvist 9eab4b5652 VM: make visit_instruction_operands() skip over uninitialized blocks
It will crash otherwise when compacting the code heap.
2016-09-29 06:35:35 +02:00
Björn Lindqvist 9e4a520862 compiler.test: this word is not used 2016-09-29 03:29:14 +02:00
Björn Lindqvist 603f5f9bbf VM: better? comment for uninitialized_blocks 2016-09-28 20:38:52 +02:00
Björn Lindqvist 91843ef22d VM: removing end_gc() 2016-09-28 05:22:32 +02:00
Björn Lindqvist 8899914697 VM: better start_gc_again() code 2016-09-28 05:20:12 +02:00
Björn Lindqvist c42c7aabbc command-line,tools.deploy.shaker: removes refs to executable which i forgot 2016-09-27 00:31:35 +02:00
Björn Lindqvist d18fbb1678 benchmark: fix benchmark selection so it works like tools.test 2016-09-26 10:35:42 +02:00
Björn Lindqvist c6faf98c86 VM: return the loop, it is needed for best performance 2016-09-26 05:16:33 +02:00
Björn Lindqvist da670c053f command-line: executable symbol isn't needed, vm-path is better 2016-09-25 23:37:04 +02:00
Björn Lindqvist e32e45e590 benchmark: make it so you can select benchmarks to run
e.g: ./factor -benchmarks="benchmark.gc1 benchmark.gc2" extra/benchmark/benchmark.factor
2016-09-25 20:47:09 +02:00
Björn Lindqvist a6df4168af bootstrap.layouts: sync note in comments 2016-09-25 20:10:16 +02:00
Björn Lindqvist 70c7f9e029 hash-sets,hashtables: improved key@ word
Don't need to check the length of the backing array because it can be
assumed to be > 0. That should make hash lookups a little faster.
2016-09-25 20:07:08 +02:00
Björn Lindqvist d71bd83f57 VM: removing the 1-arg overload of iterate() (better to be explicit about the fixup) 2016-09-22 17:03:38 +02:00
Björn Lindqvist 764a604467 VM: moving initialize_code_blocks() into primitive_modify_code_heap() 2016-09-22 15:16:07 +02:00
Björn Lindqvist f8b94c2679 VM: allot_large_object fits better in the allot.hpp file 2016-09-22 13:13:55 +02:00
Björn Lindqvist c02d913579 VM: big refactoring removing the gc_workhorse
Each collector were a slot_visitor containing a gc_workhorse containing
a policy class. This commit removes the gc_workhorse and the policies
and instead "inlines" the common code in the collector bodies. So there
is more code duplication, but the control flow doesn't "jump around" so
much so it is easier to understand. It also makes the nursery gc faster
because its collection code can be optimized better without the
workhorse/policy system.
2016-09-22 13:12:59 +02:00
Björn Lindqvist a0df88f20b VM: renaming verify_memory_protection_error to set_memory_protection_error
and sets the signal_fault_addr and signal_fault_pc in the function.
2016-09-22 13:12:59 +02:00
Alexander Iljin 65a2281188 io.launcher-docs: add notes on the hidden slot usage 2016-09-20 22:51:31 +03:00