-
Notifications
You must be signed in to change notification settings - Fork 32
ILInCoreMem
Felix S. Klock II edited this page Jul 28, 2013
·
1 revision
This is something PnkFelix worked on during Summer 2005 and Summer 2006.
He got the initial prototype up during Summer 2005, but then decided to abandon the approach to code generation because Microsoft's CommonLanguageRuntime does not garbage collect dynamically generated classes.
Will told him to revive the project in Summer 2006 because he decided a reasonable compromise between space-efficiency and overall-performance was to CompileOnLoad (rather than CompileOnEval, as originally envisaged by PnkFelix.)
The project could potentially be further revised to use DynamicMethod
objects, which according to the Microsoft documents are eligible for garbage collection!
- (But it is not clear whether generating
DynamicMethod
s is compatible with our current code generation strategy... supporting them might require extending or changing our invocation protocol...)