Back to Search
Start Over
An Empirical Study of the Code Pitching Mechanism in the .NET Framework
- Source :
- The Journal of Object Technology. 5:107
- Publication Year :
- 2006
- Publisher :
- AITO - Association Internationale pour les Technologies Objets, 2006.
-
Abstract
- The .NET Compact Framework is designed to be a high-performance virtual machine for mobile and embedded devices that operate on Windows CE (version 4.1 and later). It achieves fast execution time by compiling methods dynamically instead of using interpretation. Once compiled, these methods are stored in a portion of the heap called the code cache and can be quickly reused to satisfy future method calls. While the code cache provides a high-level of reusability, it can also use a large amount of memory. As a result, the Compact Framework provides a “code pitching” mechanism that can be used to discard the previously compiled methods as needed. In this paper, we study the effect of code pitching on the overall performance and memory utilization of .NET applications. We conduct our experiments using Microsoft’s Shared-Source Common Language Infrastructure (SSCLI). We profile the access behavior of the compiled methods. We also experiment with various code cache configurations to perform pitching. We find that programs can operate efficiently with a small code cache without incurring substantial recompilation and execution overheads.
Details
- ISSN :
- 16601769
- Volume :
- 5
- Database :
- OpenAIRE
- Journal :
- The Journal of Object Technology
- Accession number :
- edsair.doi...........2992a4316a4ad27c024d263968db2d97
- Full Text :
- https://doi.org/10.5381/jot.2006.5.3.a5