| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-04-02 | Add global rust_get_current_task | Jon Morton | -15/+15 | |
| Previously two methods existed: rust_sched_loop::get_task and rust_task::get_task_from_tcb. Merge both of them into one, trying the faster one (tcb) first, and if that fails, the slower one from the tls. | ||||
| 2012-04-01 | Merge remote-tracking branch 'brson/mainthread' | Brian Anderson | -18/+18 | |
| Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp | ||||
| 2012-03-31 | rt: Fix whitespace | Brian Anderson | -2/+3 | |
| 2012-03-31 | rt: Rename rust_task_thread to rust_sched_loop | Brian Anderson | -18/+18 | |
| This class no longer represents a thread; it just schedules tasks. | ||||
| 2012-03-28 | Fix some gcc-4.4-isms, should build now on 4.1+. | Graydon Hoare | -1/+2 | |
| 2012-03-21 | rt: Use get_task_from_tcb during stack growth calls | Brian Anderson | -2/+2 | |
| 2012-03-21 | rt: Rename record_sp to record_sp_limit | Brian Anderson | -3/+3 | |
| 2012-03-21 | rt: Don't switch to the C stack on the upcall_new_stack fast path | Brian Anderson | -18/+5 | |
| 2012-03-21 | rt: Don't swatch stacks during upcall_del_stack | Brian Anderson | -6/+2 | |
| 2012-03-19 | Send string concatenation to specialized upcall, shave 17s off librustc ↵ | Graydon Hoare | -0/+28 | |
| compile time. | ||||
| 2012-03-16 | Remove shared tydescs | Marijn Haverbeke | -73/+0 | |
| All tydescs are static now, there's no need to worry about marshalling them between threads anymore. | ||||
| 2012-03-16 | Remove dynastack support from runtime | Marijn Haverbeke | -89/+0 | |
| Issue #1982 | ||||
| 2012-03-16 | Get rid of rust_crate_cache in the runtime | Marijn Haverbeke | -67/+0 | |
| We are no longer generating dynamic tydescs or dicts. Issue #1982 | ||||
| 2012-02-28 | rt: Reset the stack boundary after returning from crust functions | Brian Anderson | -0/+3 | |
| 2012-02-21 | Remove unused tydesc argument to upcall_shared_malloc | Marijn Haverbeke | -10/+5 | |
| 2012-02-17 | rt: Make upcall_vec_push an intrinsic | Brian Anderson | -30/+20 | |
| 2012-02-17 | rt: Don't hit TLS on upcall_vec_push unless necessary | Brian Anderson | -5/+3 | |
| 2012-02-17 | rt: Don't log on entry to upcall_vec_push. Also slow | Brian Anderson | -2/+0 | |
| 2012-02-17 | rt: Don't do the stack canary check in upcall_vec_push. Too slow | Brian Anderson | -4/+0 | |
| 2012-02-17 | rt: Simplify upcall_vec_push | Brian Anderson | -23/+11 | |
| 2012-02-09 | rt: Inline everything on the C-stack-switching path | Brian Anderson | -1/+0 | |
| 2012-02-09 | rt: Add upcall_call_shim_on_rust_stack | Brian Anderson | -1/+26 | |
| 2012-02-09 | rt: Add rust_task::call_on_c_stack | Brian Anderson | -5/+3 | |
| 2012-02-09 | rt: Rename call_shim_on_c_stack to call_and_change_stacks | Brian Anderson | -2/+2 | |
| 2012-02-09 | rt: Rename new_stack to next_stack, del_stack to prev_stack | Brian Anderson | -4/+4 | |
| 2012-02-03 | rt: Rename rust_scheduler to rust_task_thread | Brian Anderson | -33/+33 | |
| 2012-02-03 | Remove experimental GC code | Marijn Haverbeke | -6/+3 | |
| It's been sitting unused long enough to have bitrotted completely. | ||||
| 2012-02-01 | make boxes self-describing (fixes #1493)" (take 2) | Niko Matsakis | -18/+42 | |
| this will be used to generate a new snapshot. | ||||
| 2012-02-01 | Revert "make boxes self-describing (fixes #1493)" until a new | Niko Matsakis | -42/+18 | |
| snapshot is prepared. | ||||
| 2012-02-01 | make boxes self-describing (fixes #1493) | Niko Matsakis | -18/+42 | |
| 2012-01-17 | roll back commit 1c7a62 | Niko Matsakis | -9/+0 | |
| 2012-01-17 | Use a memset upcall to zero things without static alignment | Marijn Haverbeke | -0/+9 | |
| This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately. | ||||
| 2012-01-12 | add tydescs into shape, rewrite walk_fn_contents() | Niko Matsakis | -5/+7 | |
| 2012-01-12 | free uniq data we encounter on the sweep, walk thru them otherwise | Niko Matsakis | -1/+1 | |
| 2012-01-07 | fix valgrind error: allocate enough space for all type descs | Niko Matsakis | -1/+1 | |
| 2012-01-06 | plug leak: free shared type descrs recursively, as we ought to | Niko Matsakis | -1/+3 | |
| 2012-01-06 | fix how we walk functions to match new closure fmt | Niko Matsakis | -0/+1 | |
| 2012-01-06 | Make binding of fns with bounded type parameters work | Marijn Haverbeke | -0/+26 | |
| Interns non-static dicts to heap-allocated equivalents so that they no longer have stack scope. Closes #1436 | ||||
| 2012-01-01 | freebsd support | User Jyyou | -1/+1 | |
| 2011-12-20 | rt: Don't check the stack canary on most upcalls | Brian Anderson | -10/+1 | |
| 2011-12-20 | rt: Do fewer stack canary checks | Brian Anderson | -3/+5 | |
| 2011-12-20 | rt: Add a canary value to the end of every stack | Brian Anderson | -3/+12 | |
| Check it on upcall entry and exit, and on stack deletion | ||||
| 2011-12-19 | rt: Give upcall_new_stack the same convention as other upcalls | Brian Anderson | -10/+13 | |
| 2011-12-19 | rt: Give upcall_del_stack the same convention as other upcalls | Brian Anderson | -2/+6 | |
| 2011-12-18 | rt: Get rid of the rethrow in upcall_fail | Brian Anderson | -7/+14 | |
| Throwing in upcall_fail ends up running lots of code in the red zone. To avoid it we have the personality function figure out which stack it's on and switch as needed. | ||||
| 2011-12-18 | rt: Create different stack-switching paths for upcalls and shims | Brian Anderson | -22/+34 | |
| Shims need to play with the stack limit, upcalls don't. Only one upcall, upcall_fail is allowed to catch, and we need a find a way to get rid of that catch as well because it results in _Unwind_Resume running off the end of the Rust stack. | ||||
| 2011-12-17 | rt: Turn on stack alignment checks for mac | Brian Anderson | -2/+2 | |
| 2011-12-16 | rt: Only call check_stack_alignment on linux | Brian Anderson | -0/+5 | |
| 2011-12-16 | rt: Insert stack alignment checks into upcalls | Brian Anderson | -0/+10 | |
| 2011-12-16 | update to not look at descs[], which is not necessarily valid | Niko Matsakis | -8/+10 | |
| if the input is a statically allocated type_desc | ||||
