Reclaiming Storage in an Object Oriented Platform Supporting Extended C++ and Objective-c Applications
نویسنده
چکیده
This paper describes the experience obtained from the conception and implementation of a system for garbage collection in the INESC Comandos platform. The garbage collector is presently being used not only by applications written in C++ but also in Objective-C (both with some minor restrictions) since both languages are supported by the platform. In order to reclaim the memory used by objects, two algorithms were implemented: stop and copy with multiple generations and an incremental mark and sweep. The genera-tional copying algorithm reduces drastically the time used to reclaim old objects when compared with a non-generational version. Besides these two algorithms, another one was developed in order to reclaim non-object memory (usually strings). This memory can be explicitly created by the programmer or by the Communication Subsystem in order to support distributed invocations.
منابع مشابه
Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملA Novel Gain Time Reclaiming Framework Integrating WCET Analysis for Object-Oriented Real-Time Systems
This paper proposes a novel gain time reclaiming framework integrating WCET analysis for object-oriented real-time systems in order to provide greater flexibility and without loss of the predicability and efficiency of the whole system. In this paper we present an approach which demonstrates how to improve the utilisation and overall performance of the whole system by reclaiming gain time at ru...
متن کاملGain Time Reclaiming in High Performance Real-Time Java Systems
The run-time characteristics of Java, such as high frequency of method invocation, dynamic dispatching and dynamic loading, make Java more difficult than other object-oriented programming languages, such as C++, for conducting Worst-Case Execution Time (WCET) analysis. To offer a more flexible way to develop object-oriented real-time applications in the realtime Java environment without loss of...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملAn Object Model Interface for Supporting Method Storage
Current object-oriented and object-relational databases provide only basic support for handling multimedia and other complex data. This is limited to storing an object’s state and the definition of behaviour rather then actual functionality. The EGTV project focuses on the integration of large multimedia databases, and thus requires a stronger, richer object-oriented model. The model employed i...
متن کامل