Guarded Storage Event Handler for Concurrent Memory Reclamation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In computing environments, storage reclamation processes face delays due to the need to suspend execution of all application processes referencing memory during garbage collection, as active data objects cannot be relocated without risking data integrity and performance.
Innovation Solution
A guarded storage facility is introduced, which sets up protected memory ranges, allowing storage reclamation to proceed without suspending applications by detecting guarded storage events and using attributes to relocate memory objects and adjust pointers, enabling continuous execution across CPUs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If storage reclamation is performed by suspending execution of all application processes referencing memory, then data integrity is maintained during memory relocation, but application performance deteriorates due to execution delays
Solution Approach 1:
The system performs preliminary actions by setting up guarded storage events and attributes before storage reclamation begins. The guarded storage facility pre-configures memory ranges and event handlers, allowing storage reclamation to proceed without suspending applications. The guarded storage event attributes (such as the address of the guarded storage event handler and the guarded storage event parameter list address) are established in advance to enable automatic handling of memory relocation events.
Solution Approach 2:
The guarded storage event handler acts as an intermediary between the storage reclamation process and application processes. When a guarded storage event is detected (indicating memory relocation), the handler uses the guarded storage event attributes to relocate memory objects and adjust pointers, enabling continuous execution while maintaining data integrity through coordinated memory management.
2Productivity
If memory objects are relocated during storage reclamation, then memory space is efficiently consolidated, but execution must be suspended to prevent data integrity issues
Solution Approach 1:
The guarded storage facility enables continuity of useful action by allowing storage reclamation to proceed without halting application execution. The system continuously monitors for guarded storage events and automatically handles memory relocation through pre-configured event handlers and attributes, ensuring that both memory consolidation and application execution proceed simultaneously without interruption.
3Productivity
If guarded storage events are detected and processed, then memory objects can be relocated without suspending applications, but system complexity increases due to additional event handling mechanisms
Solution Approach 1:
The guarded storage event attributes serve multiple functions: they store the address of the guarded storage event handler, the guarded storage event parameter list address, and other necessary information for memory relocation. This multi-functional attribute structure reduces the need for separate data structures and simplifies the overall event handling mechanism while enabling concurrent execution.
Data Source
AI summary
A guarded storage facility sets up a boundary indicating a range of addresses to be guarded or protected. When a program attempts to access an address in a guarded section defined by the boundary, a guarded storage event occurs. Use of this facility facilitates performance of certain tasks within a computing environment, including storage reclamation.


