<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rt/rust_task.cpp, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-08-09T23:45:50+00:00</updated>
<entry>
<title>Remove the C++ runtime. Sayonara</title>
<updated>2013-08-09T23:45:50+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2013-08-01T06:12:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b75915d0ca20c6d066a7368ad53491a55a5a57d2'/>
<id>urn:sha1:b75915d0ca20c6d066a7368ad53491a55a5a57d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt: Fix a corner-case in unwinding that leads to stack overflow</title>
<updated>2013-08-04T06:40:25+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2013-08-02T04:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=044fa35bf8ab277d90e12559f4de78e73a404033'/>
<id>urn:sha1:044fa35bf8ab277d90e12559f4de78e73a404033</id>
<content type='text'>
In some scenarios upcall_rust_stack_limit fails to record the stack
limit, leaving it 0, and allowing subsequent Rust code to run into
the red zone.
</content>
</entry>
<entry>
<title>rm unused upcall_exchange_free</title>
<updated>2013-07-24T22:44:16+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-07-22T20:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce1db94647fc82e0625a74fbf9670a7517aba996'/>
<id>urn:sha1:ce1db94647fc82e0625a74fbf9670a7517aba996</id>
<content type='text'>
</content>
</entry>
<entry>
<title>new snapshot</title>
<updated>2013-07-22T05:09:48+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-07-22T04:06:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ed67cdb73c9cf3a1cba768b3122aa03564b43ccc'/>
<id>urn:sha1:ed67cdb73c9cf3a1cba768b3122aa03564b43ccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt: Release big stacks immediately after use to avoid holding on to them through yields</title>
<updated>2013-06-26T22:18:36+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2013-05-18T00:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8918461fc41576664719c12ce7d655aaad2c78d1'/>
<id>urn:sha1:8918461fc41576664719c12ce7d655aaad2c78d1</id>
<content type='text'>
This avoids the following pathological scenario that makes threadring OOM:

1) task calls C using fast_ffi, borrowing a big stack from the scheduler.
2) task returns from C and places the big stack on the task-local stack segment list
3) task calls further Rust functions that require growing the stack, and for this reuses the big stack
4) task yields, failing to return the big stack to the scheduler.
5) repeat 500+ times and OOM

Conflicts:
	src/rt/rust_task.cpp
</content>
</entry>
<entry>
<title>Remove unused TyDesc parameter from the glue functions</title>
<updated>2013-06-23T11:02:00+00:00</updated>
<author>
<name>Philipp Brüschweiler</name>
<email>blei42@gmail.com</email>
</author>
<published>2013-06-22T19:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2f1049bd5f041f1f219d683e4e29e32ca30cd1c'/>
<id>urn:sha1:e2f1049bd5f041f1f219d683e4e29e32ca30cd1c</id>
<content type='text'>
To remove the environment pointer, support for function pointers without
an environment argument is needed (i.e. a fixed version of #6661).
</content>
</entry>
<entry>
<title>Remove all #[cfg(stage0)]-protected code</title>
<updated>2013-06-20T14:43:02+00:00</updated>
<author>
<name>James Miller</name>
<email>james@aatch.net</email>
</author>
<published>2013-06-20T05:15:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bc4d1a1206ad5f4bb31475e17fc18ecf855ed8e'/>
<id>urn:sha1:3bc4d1a1206ad5f4bb31475e17fc18ecf855ed8e</id>
<content type='text'>
New snapshot means this can all go. Also removes places that have
comments that say they are workarounds for stage0 errors.
</content>
</entry>
<entry>
<title>Replace tabs with spaces</title>
<updated>2013-06-11T20:10:41+00:00</updated>
<author>
<name>Ron Dahlgren</name>
<email>ronald.dahlgren@gmail.com</email>
</author>
<published>2013-06-11T20:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37c855889586754ddd2e19147a40c92450ddadec'/>
<id>urn:sha1:37c855889586754ddd2e19147a40c92450ddadec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Assert stk rather than checking null</title>
<updated>2013-06-11T17:11:49+00:00</updated>
<author>
<name>Ron Dahlgren</name>
<email>ronald.dahlgren@gmail.com</email>
</author>
<published>2013-06-11T17:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=301f9001c01ffbca89241dcd8c0c2f1ae6928dfd'/>
<id>urn:sha1:301f9001c01ffbca89241dcd8c0c2f1ae6928dfd</id>
<content type='text'>
Given that a big stack is never requested before allocating an initial
stack segment, having a non-null stk member here is an invariant.
</content>
</entry>
<entry>
<title>Check stk before dereferencing</title>
<updated>2013-06-09T17:43:16+00:00</updated>
<author>
<name>Ron Dahlgren</name>
<email>ronald.dahlgren@gmail.com</email>
</author>
<published>2013-06-09T05:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12203a76c22cebff394a2b157a0d1f4cec3d46f8'/>
<id>urn:sha1:12203a76c22cebff394a2b157a0d1f4cec3d46f8</id>
<content type='text'>
This commit fixes #7022 - I've added an additional check to ensure that
stk is not null before dereferencing it to get it's next element,
assigning NULL if it is itself NULL.
</content>
</entry>
</feed>
