[dev-servo] Fwd: Servo on Android

2014-07-10 Thread Simon Sapin
Hi all, Can someone help this person with Servo on Android? Please keep them in CC as they’re probably not subscribed to the list. Thanks, -- Simon Sapin On 10/07/14 14:39, Cristian Silaghi wrote: Can you share with me one recent build of Servo for Android? I want to test it on my phone, but

Re: [dev-servo] Fwd: Servo on Android

2014-07-10 Thread Matt Brubeck
On 10/07/14 14:39, Cristian Silaghi wrote: Can you share with me one recent build of Servo for Android? I want to test it on my phone, but it seems my distro is not able to build one (I'm using BBQLinux, based on Arch Linux). So can you send me "ServoAndroid-debug.apk" ? :) Here's my local Andro

[dev-servo] Servo memory usage

2014-07-10 Thread Nicholas Nethercote
Hi, With https://github.com/mozilla/servo/pull/2803 applied, the -m option now gives some measurements from jemalloc. Here's example output after starting up and viewing about:mozilla on my Linux box. _category_ : _size (MiB)_ vsize : 1414.54 resident:88.50 hea

Re: [dev-servo] Servo memory usage

2014-07-10 Thread Patrick Walton
On 7/10/14 9:46 PM, Nicholas Nethercote wrote: Does Rust have any stack-measuring capabilities? It doesn't; let's definitely file a Rust issue on that. The reason why Rust stacks don't go through jemalloc and instead mmap directly is because of the desire to place guard pages, I believe. Hi

Re: [dev-servo] Servo memory usage

2014-07-10 Thread Nicholas Nethercote
On Thu, Jul 10, 2014 at 10:34 PM, Patrick Walton wrote: > > Historically, Rust's large stacks were due to the fact that at the time > stack growth was removed, rustc had worse codegen than it did today, > resulting in frames with very large activation records. Coupled with the > fact that rustc it

Re: [dev-servo] Servo memory usage

2014-07-10 Thread Nicholas Nethercote
On Thu, Jul 10, 2014 at 10:34 PM, Patrick Walton wrote: >> >> Does Rust have any stack-measuring capabilities? > > It doesn't; let's definitely file a Rust issue on that. I filed https://github.com/rust-lang/rust/issues/15600. I have no idea how it would be implemented. Nick