summary refs log tree commit diff
path: root/src/libstd/rt/local_heap.rs
AgeCommit message (Collapse)AuthorLines
2014-03-21libstd: Add some methods to `Vec<T>`.Patrick Walton-1/+1
2014-03-20rename std::vec_ng -> std::vecDaniel Micay-1/+1
Closes #12771
2014-03-20rename std::vec -> std::sliceDaniel Micay-1/+1
Closes #12702
2014-02-23std: Remove unstable::langBrian Anderson-1/+18
Put the lonely lang items here closer to the code they are calling.
2014-02-23std: Move raw to std::rawBrian Anderson-1/+1
Issue #1457
2014-02-20move extra::test to libtestLiigo Zhuang-1/+2
2014-02-14Register new snapshotsAlex Crichton-3/+0
This enables the parser error for `extern mod` => `extern crate` transitions.
2014-02-13Don't allocate in LocalHeap::new()Alex Crichton-7/+8
One of these is allocated for every task, trying to cut down on allocations cc #11389
2014-02-13Register new snapshotsAlex Crichton-74/+0
2014-02-07remove type descriptors from proc and @TDaniel Micay-0/+61
This also drops support for the managed pointer POISON_ON_FREE feature as it's not worth adding back the support for it. After a snapshot, the leftovers can be removed.
2014-02-02std,extra: remove use of & support for @[].Huon Wilson-1/+1
2014-01-26Removed all instances of XXX in preparation for relaxing of FIXME ruleSalem Talha-2/+2
2014-01-22Replace C types with Rust types in libstd, closes #7313Florian Hahn-7/+5
2014-01-15libstd: Added more #[inline] annotations and replaced uses of `libc::abort` ↵Eduard Burtescu-0/+12
with the intrinsic.
2014-01-07std: Fill in all missing importsAlex Crichton-0/+3
Fallout from the previous commits
2013-12-15librustc: Remove identifiers named `box`, since it's about to become a keyword.Patrick Walton-20/+20
2013-12-10librustuv: RAII-ify `Local::borrow`, and remove some 12 Cells.Patrick Walton-1/+2
2013-12-08Remove dead codesKiet Tran-0/+2
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-2/+2
compile-fail tests, run-fail tests, and run-pass tests.
2013-11-26libstd: Remove all non-`proc` uses of `do` from libstdPatrick Walton-9/+3
2013-10-26Rewrite boxed_region/memory_region in RustAlex Crichton-64/+238
This drops more of the old C++ runtime to rather be written in rust. A few features were lost along the way, but hopefully not too many. The main loss is that there are no longer backtraces associated with allocations (rust doesn't have a way of acquiring those just yet). Other than that though, I believe that the rest of the debugging utilities made their way over into rust. Closes #8704
2013-10-23Removed Unnecessary comments and white spaces #4386reedlepee-1/+0
2013-10-23Making fields in std and extra : private #4386reedlepee-2/+3
2013-10-11De-pub some private runtime componentsAlex Crichton-0/+11
This change was waiting for privacy to get sorted out, which should be true now that #8215 has landed. Closes #4427
2013-10-08rm useless fast_ffi attributesDaniel Micay-7/+0
this is no longer used by the compiler
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.