Commit Graph

355 Commits

Author SHA1 Message Date
Paul Driver
da051310df Merge branch 'master' into hashboard 2018-06-04 14:15:53 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Paul Driver
88b7d23ed8 fix reaming after changing cold dash 2018-05-30 11:32:10 -07:00
Paul Driver
402e77357d stash - working out which hash to use 2018-05-29 21:33:10 -07:00
Paul Driver
d19fde0b5a memory bug in ice testing 2018-05-29 21:32:47 -07:00
Curtis Yarvin
b089420cea Some renaming and stuff. 2018-05-27 12:16:13 -07:00
Paul Driver
5c0232a42b bug in _box_slot 2018-05-26 20:49:11 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
56ff1520bf bug in _box_slot 2018-05-25 17:54:03 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Paul Driver
a0819e41f8 remove superflous profiling quals 2018-05-16 15:18:17 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00
Paul Driver
f2f6a04cc5 bash batteries for gate prep/lose 2018-05-16 11:49:08 -07:00
Paul Driver
8417f4b7c5 ownership audit 2018-05-16 09:41:49 -07:00
Paul Driver
b9bf443b17 fix leaks in _cj_install, mark hot_p 2018-05-15 21:59:00 -07:00
Shaun Kerr
152e206d18 Removed unused variable. Closes #907 2018-05-15 14:51:52 +12:00
Paul Driver
4ee14f4c59 print axe on hot jet, more hashes 2018-05-14 10:46:34 -07:00
Paul Driver
33195a22ec more hashes, u3j_hood expands to express ut hooks 2018-05-12 14:30:59 -07:00
Paul Driver
2ace4f723a better auditing 2018-05-12 12:16:36 -07:00
Paul Driver
540dca9401 no remarry 2018-05-12 12:15:17 -07:00
Paul Driver
956ecdbeaa more hashes, clarify _cj_spot with hot fallback 2018-05-10 14:06:07 -07:00
Paul Driver
109ad54c53 booting and verifying - pasting in hashes now 2018-05-08 18:30:19 -07:00
Paul Driver
10c775961f stash - building and booting 2018-05-08 13:34:35 -07:00
Curtis Yarvin
5afbf59cae Merge branch 'master' into research-merge 2018-05-02 16:55:29 -07:00
Paul Driver
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00
Paul Driver
7551a3c486 comments 2018-04-30 11:26:29 -07:00
Paul Driver
d1d2f02ef0 comments, _cj_fink_free takes post 2018-04-30 11:21:04 -07:00
Paul Driver
672d99fcca comments, no return from _cj_site_lock 2018-04-30 11:10:01 -07:00
Paul Driver
b43f069441 u3n_find returns post 2018-04-30 11:02:48 -07:00
Paul Driver
68f98124e5 more comments, u3n_burn takes a post 2018-04-30 10:56:19 -07:00
Paul Driver
dc470f76d4 deleting unused public functions, cleaning up internal apis 2018-04-30 10:33:04 -07:00
Paul Driver
825b7eb604 posts in sites 2018-04-30 10:16:47 -07:00
Paul Driver
d306975af8 gate_prep transfers, rites to posts 2018-04-30 09:57:09 -07:00
Paul Driver
67c1035d57 fix profiling 2018-04-27 12:22:39 -07:00
Paul Driver
48eb2fee9b roll 2018-04-27 09:33:33 -07:00
Paul Driver
62b8b655ee locally cached gates for things like turn 2018-04-26 17:42:38 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a15c248e3d move _n_fink_free and everything that calls it 2018-04-26 12:06:57 -07:00
Paul Driver
462c6d7bd5 move rite and site mark 2018-04-26 11:23:03 -07:00
Paul Driver
bf2d240ed0 move cast 2018-04-26 11:15:46 -07:00
Paul Driver
4da79539ec move internal _n data structures to headers 2018-04-26 11:08:34 -07:00
Paul Driver
0e45d64cef minor things like initializing variables and stuff 2018-04-18 12:22:50 -07:00
Paul Driver
a5e79c2820 ream callsites at boot 2018-04-18 12:19:56 -07:00
Paul Driver
033b2c1721 using cached locations to speed up kicks 2018-04-17 14:57:59 -07:00
Paul Driver
50f3c9ef63 holding onto locations and finks at call sites without leaks 2018-04-17 13:47:52 -07:00
Paul Driver
7333250eeb no inter-road call site communication, bat/pog caching working! 2018-04-16 17:27:32 -07:00
Paul Driver
bb76625c4e keeping batteries for no reason 2018-04-16 16:54:20 -07:00
Paul Driver
3c7317a1a4 registration site caching 2018-04-14 14:57:12 -07:00
Paul Driver
4c482af711 fixed memoization, memory problems in reap 2018-04-13 13:32:31 -07:00
Paul Driver
ed58c5f267 stash - jacks kernel successfully 2018-04-12 17:14:40 -07:00
Paul Driver
4959d951b0 stash - first pass & compile 2018-04-12 11:31:42 -07:00
Paul Driver
c619f27b08 stash 2018-04-11 16:30:57 -07:00
Paul Driver
d25b3d04b1 use walk_with in u3j_ream 2018-04-04 11:51:21 -07:00
Paul Driver
c027d8aca4 fix (untriggered) memory leak in _cj_hook_in) 2018-04-03 20:28:44 -07:00
Paul Driver
cd342ab1c1 make come and flee more atomic
profiler and mememory checker are working properly now (and together)
2018-04-02 18:38:33 -07:00
Paul Driver
3b7e9eca0b Merge branch 'bytecode-mint' into spot-check 2018-04-02 14:08:51 -07:00
Paul Driver
03763e4817 fix profiling leaks 2018-04-02 14:08:28 -07:00
Paul Driver
41fd9cf287 surface allocate label in profile sample 2018-04-02 11:39:03 -07:00
Paul Driver
9b00b2084d fix memory errors in ream: boot and resume now pass memory checker 2018-03-31 15:15:29 -07:00
Paul Driver
a078e03f33 fix a memory leak in u3j_spot 2018-03-31 14:27:19 -07:00
Paul Driver
4fc65663c6 more bugfixes: now boots and restores from checkpoint 2018-03-31 13:51:41 -07:00
Paul Driver
b8506c70ea bugfixes 2018-03-30 13:01:03 -07:00
Paul Driver
a61ed7df17 fix compile errors 2018-03-30 11:49:18 -07:00
Paul Driver
78d4d79959 a clarifying comment 2018-03-30 11:17:48 -07:00
Paul Driver
58e21b4d2e housekeeping 2018-03-30 11:16:05 -07:00
Paul Driver
04d210509a initial rewrite of dashboard 2018-03-30 11:13:48 -07:00
Paul Driver
a4a2a38ce8 stash commit for interested onlookers 2018-03-29 16:18:22 -07:00
Paul Driver
a5e55372e9 stash before changing dashboard yet again 2018-03-29 11:56:09 -07:00
Paul Driver
e82f4c617e that should do for _cj_hook_in... 2018-03-28 11:27:33 -07:00
Paul Driver
f73408979b most logic thru u3j_kick moved to new dashboard 2018-03-26 13:25:23 -07:00
Paul Driver
2c8f8b0846 stash 2018-03-26 09:58:36 -07:00
Paul Driver
e68d64f8f9 Merge branch 'charm' into bytecode-mint 2018-03-19 10:11:01 -07:00
Paul Driver
c1f4c7fcb3 change overflow check to short 2018-03-15 16:58:04 -07:00
Paul Driver
e1d724e084 tightening down song_x even further, offloading book-keeping to a seperate helper function 2018-03-15 15:51:35 -07:00
Paul Driver
93d54041a9 tightening up unifying equality in several small ways 2018-03-15 15:06:53 -07:00
Paul Driver
3c54440c82 mov/off optimization for unifying equality 2018-03-15 13:07:22 -07:00
Paul Driver
1871595b57 add bytecode free functions 2018-03-12 10:58:41 -07:00
Paul Driver
a2a0f3ae6a code cleanup 2018-03-12 10:45:04 -07:00
Paul Driver
bf8ac6fc37 bytecode interpreter passes memory checker 2018-03-09 16:38:55 -08:00
Paul Driver
42c460ed3b midway through adding making for bytecode 2018-03-09 16:04:47 -08:00
Paul Driver
16e3e5cf6a Merge branch 'unbreak-euq' into bytecode-mint 2018-03-09 10:57:07 -08:00
Paul Driver
73469e3383 remove well-intentioned equality profile breakage
process sampling already takes care to turn off cpu profiling during its
sampling. this "fix" for mid-equality sampling was masking another bug
at an earlier point in the debugging process for the unifying equality
changes. I realized upon reflection that it was incorrect.
2018-03-09 10:42:19 -08:00
Paul Driver
3ed1ffda80 Merge branch 'runtime-overflows' into bytecode-mint 2018-03-05 13:39:26 -08:00
Paul Driver
c6b9b9a63e trace in sung/sang 2018-03-05 13:39:11 -08:00
Paul Driver
6aa498ab94 fix memory leak in bytecode compiler 2018-03-05 13:38:34 -08:00
Paul Driver
c3740fa09e Merge branch 'runtime-overflows' into bytecode-mint 2018-03-05 13:20:56 -08:00
Paul Driver
f90c714942 fix profiling during equality 2018-03-05 13:20:34 -08:00
Paul Driver
5490a4c4cf stash 2018-03-05 11:12:18 -08:00
Paul Driver
7fc59254e4 slightly improve special sam opcodes 2018-02-22 14:21:33 -08:00
Paul Driver
910154b140 reaping actual bytecodes instead of recompiling 2018-02-22 13:37:00 -08:00
Paul Driver
adb9a4e437 recompiling when reaping solves generator issues 2018-02-22 11:42:29 -08:00
Paul Driver
03ae2dfffc nox_d bumps in appropriate places, remove superfluous while 2018-02-20 13:41:09 -08:00
Paul Driver
fad4db8b66 commenting out and moving around some debugging code, boot is working 2018-02-20 12:57:59 -08:00
Paul Driver
d3bfebdd1a always take in bytecode reap 2018-02-20 12:13:14 -08:00
Paul Driver
6ab1f076ce proper bytecode reaping, fix wish 2018-02-20 11:28:01 -08:00
Paul Driver
98bb18f28c bytecode promotion, small south road fix 2018-02-19 12:13:59 -08:00
Paul Driver
b08cdcf7fc correct offsets for south roads 2018-02-18 15:40:36 -08:00
Paul Driver
dc09b2cf70 fix refcounting bug in do_bump 2018-02-18 14:11:44 -08:00
Paul Driver
b95a663b59 minor improvements to the quote opcode implementation 2018-02-18 13:10:33 -08:00
Paul Driver
e3ca0ad64b renumber opcodes after samc 2018-02-18 12:55:00 -08:00
Paul Driver
3943f3fd95 some debugging convenience, proper handling of non-cons nock 5, fixed memo coded 2018-02-18 12:53:07 -08:00
Paul Driver
2a247cb859 some bugfixes, can compute memoizing fibonacci 2018-02-14 15:56:00 -08:00
Paul Driver
f0d1ee8d4f same-as-literal opcodes 2018-02-14 09:18:53 -08:00
Paul Driver
8adc247d48 slam and slat 2018-02-13 14:32:32 -08:00
Paul Driver
10413983ba lit0 and lit1 bytecodes 2018-02-13 14:17:47 -08:00
Paul Driver
a8af4dbfb5 copy-reduced interpreter can run ackermann 2018-02-13 13:54:56 -08:00
Paul Driver
b116b22bc6 retain-bytecode refactor compiles 2018-02-12 15:19:11 -08:00
Paul Driver
3ea0b3c515 stash - finished writing interpreter branches for new retaining opcodes 2018-02-12 13:21:20 -08:00
Paul Driver
945371ae46 i have a new idea... stash 2018-02-07 10:26:06 -08:00
Paul Driver
2b7f5f23b3 in-progress adding general copy elimination 2018-02-06 11:50:14 -08:00
Paul Driver
c87954b4f8 optimized some copy/quot pairs 2018-02-05 17:04:41 -08:00
Paul Driver
a60d2844c1 exorcise c stack from _n_burn 2018-02-05 15:26:17 -08:00
Paul Driver
d50f36bd51 byte version of skip, optimized stack ops 2018-02-05 13:34:11 -08:00
Paul Driver
a8b4012f15 byte versions of frag/kick 2018-02-05 11:20:34 -08:00
Paul Driver
389261be10 try compiling away all fragment axes 2018-02-05 10:27:39 -08:00
Paul Driver
17a166fa83 bytecode interpreter can run nock decrement 2018-02-02 15:28:07 -08:00
Paul Driver
232d2cccf8 fixing compile errors and warnings 2018-02-01 09:21:10 -08:00
Paul Driver
9610d59874 cleanup, comments 2018-02-01 09:04:47 -08:00
C. Guy Yarvin
37384be9a7 Support experimental macros with fab. 2018-01-31 15:57:43 -08:00
Paul Driver
9a5bd10871 wish, some bugfixes, numbered the opcodes 2018-01-31 15:10:58 -08:00
Paul Driver
62dc052760 think-o in stack hints, clarify case 6 in compiler 2018-01-31 09:36:35 -08:00
Paul Driver
8038366b52 fix memo compilation, implement several hint opcodes 2018-01-31 09:24:56 -08:00
Paul Driver
9c7f855eee kick and tick 2018-01-30 18:15:55 -08:00
Paul Driver
0e3180aea0 stash - writing it down 2018-01-30 16:27:04 -08:00
C. Guy Yarvin
453c8a3e9f Unwind stacks by iterative copy. 2018-01-29 18:54:26 -08:00
Paul Driver
d214d00e89 slightly odd syntax on _song_atom 2018-01-29 10:52:47 -08:00
Paul Driver
665e0899ad revert unification redesign, memoize-by-pointer for large equality traverses 2018-01-29 10:16:20 -08:00
Paul Driver
70f6cd4df5 unification redesign -- initial recursive version 2018-01-26 11:49:56 -08:00
Paul Driver
674af1842d whoops, left these unused macros in 2018-01-24 15:42:23 -08:00
Paul Driver
3be6b258b0 be more unified about unification (and fix a crash) 2018-01-24 15:27:21 -08:00
Paul Driver
e7a7db6b84 check heads first in sing and friends 2018-01-24 13:14:56 -08:00
Paul Driver
714d7e7608 use explicit stack in unifying equals 2018-01-23 17:22:27 -08:00
C. Guy Yarvin
0df247f9a2 ut_find debugging branch with jet disabled. 2017-12-17 16:29:54 -08:00
C. Guy Yarvin
98c28965cf Clean up %H. 2017-12-06 21:18:23 -08:00
C. Guy Yarvin
7cebac8144 Merge remote-tracking branch 'origin/retrofit' into retrofit-redefault 2017-12-06 16:38:40 -08:00
C. Guy Yarvin
62b20b56ee Support long ~$ symbols. 2017-12-06 16:33:24 -08:00
Ted Blackman
677a97371b New pill URL format and search through old commits 2017-12-05 17:59:20 -08:00
Ted Blackman
9a4d7fb2f4
Merge pull request #898 from joemfb/pill-s-err
checks HTTP response code when fetching pill
2017-11-29 17:00:40 -08:00
Joseph Bryan
3a782bdff9 checks HTTP response code when fetching pill 2017-11-18 21:43:23 -05:00
C. Guy Yarvin
5c2a4b0445 Merge branch 'retrofit' of https://github.com/urbit/urbit into retrofit 2017-11-17 12:49:21 -08:00
cgyarvin
3b1906bd2f
Merge pull request #897 from frodwith/hshfix
Update arm_u state correctly in _ch_buck_trim
2017-11-17 10:59:46 -08:00
C. Guy Yarvin
fafc897b62 Improved diganostics. 2017-11-16 18:35:26 -08:00
C. Guy Yarvin
f59222bba8 Fix reclaim logic bug. 2017-11-16 18:31:09 -08:00
C. Guy Yarvin
8c20c3dcdf Larger slab allocations make profiling work. 2017-11-16 11:44:52 -08:00
C. Guy Yarvin
fee009a40e Merge branch 'retrofit' of https://github.com/urbit/urbit into retrofit 2017-11-15 17:09:11 -08:00
C. Guy Yarvin
70a4dcf448 Cleanups and inlining. 2017-11-15 17:09:00 -08:00
Paul Driver
c284c800bf Update arm_u state correctly in _ch_buck_trim
Previously, trimming the penultimate value from a hash bucket would
leave arm_u in an inconsistent state: mug_w would be pointing at
a key-value pair in a node, but arm_u.buc_o and arm_u.inx_w were
not updated to reflect this. Correspondingly, a rare edge case could
occur where said key-value pair would not be marked cold (due to
buc_o), which is a semantic error.
2017-11-15 10:00:11 -08:00
cgyarvin
e202076ef3
Merge pull request #896 from frodwith/hshfix
reset inx_w after finishing a bucket
2017-11-14 16:00:41 -08:00
C. Guy Yarvin
8d5ac23ab2 Minor debugging cleanups. 2017-11-14 15:24:42 -08:00