shana / google-highly-open-participation-mono

Automatically exported from code.google.com/p/google-highly-open-participation-mono
0 stars 0 forks source link

Reduce memory usage for the runtime with generics code. #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. Estimated Time

Few hours of coding and one day or two of testing

2. Description of the project

Cache unbound generic open parameter memory usage on the runtime.
On some spots while decoding generic types we need to use type parameters
that are not bound to a specific file. Currently mono always allocate from
the image memory pool when using them, it's not a lot but we could do better.

The idea is to stop allocating all the time and just cache for small index
generic parameters. This should reduce image mempool usage a bit, but a
good to have.

It would be good to get some numbers on saving with at least some decently
sized generics code.

3. Links that will be useful to a student.

The function than needs to be changed is
metadata.c/mono_metadata_parse_generic_param 

Original issue reported on code.google.com by kump...@gmail.com on 27 Nov 2007 at 12:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I claim this Task

Original comment by sushil.k...@gmail.com on 29 Nov 2007 at 6:51

GoogleCodeExporter commented 9 years ago

Original comment by jpo...@gmail.com on 3 Dec 2007 at 5:53

GoogleCodeExporter commented 9 years ago
29 days since last update.

Please provide an update in the next 24 hours or we will open this task up for 
other
people to do.  Thanks!

Original comment by jpo...@gmail.com on 28 Dec 2007 at 2:24

GoogleCodeExporter commented 9 years ago

Original comment by jpo...@gmail.com on 30 Dec 2007 at 6:37