summary refs log tree commit diff
path: root/src/libstd/rt/local_heap.rs
AgeCommit message (Collapse)AuthorLines
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-08-27librustc: Ensure that type parameters are in the right positions in paths.Patrick Walton-3/+4
This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax.
2013-08-23rt: Memory regions are never synchronized nowBrian Anderson-5/+2
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-0/+5
2013-08-12std: Re-optimize tls access on local allocation pathBrian Anderson-2/+7
I did this once but acciddentally undid it in a later patch.
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-27/+4
2013-08-09std: Fix perf of local allocations in newschedBrian Anderson-7/+15
Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it.
2013-08-02librustc: Disallow "unsafe" for external functionsPatrick Walton-1/+1
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-3/+3
This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern).
2013-07-22std: add #[bench] benchmarks for global and local heaps.Graydon Hoare-0/+19
2013-07-03Merge remote-tracking branch 'mozilla/master'Brian Anderson-1/+1
Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-24std: Make box annihilator work with newschedBrian Anderson-1/+49
2013-06-24std: Rewrite vec_reserve_shared_actual in RustBrian Anderson-0/+9
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+80
This only changes the directory names; it does not change the "real" metadata names.