Dynamic Compilation Scheme for Electronic Device Memory Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The performance of electronic devices can degrade due to insufficient storage space, necessitating proactive management to secure free storage and minimize performance loss.

Innovation Solution

The processor dynamically adjusts the compile scheme of executable files and packages using a combination of just-in-time and ahead-of-time compilation techniques to optimize storage usage without user intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If ahead-of-time compilation is used to generate compile artifact files, then runtime performance is improved, but storage space is consumed

Engineering Contradiction:
Improveruntime performanceVSAvoidstorage space
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system dynamically switches between ahead-of-time compilation and just-in-time compilation based on storage space conditions. When storage is sufficient, ahead-of-time compilation generates optimized artifact files for better runtime performance. When storage becomes constrained, the system transitions to just-in-time compilation to reduce storage consumption while maintaining acceptable performance through dynamic adaptation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The compilation strategy changes parameters such as compilation timing and optimization level based on storage space availability. The system monitors storage conditions and adjusts compilation parameters dynamically, switching between different compilation modes (ahead-of-time vs. just-in-time) to optimize the trade-off between runtime performance and storage consumption.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If storage space is secured pre-emptively by changing compile schemes, then free storage space is increased, but device performance may degrade

Engineering Contradiction:
Improvefree storage spaceVSAvoiddevice performance
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

Instead of completely switching to less optimized compilation modes when storage is constrained, the system applies partial optimization by using just-in-time compilation for less critical components while maintaining ahead-of-time compilation for essential performance-critical code. This partial application of optimization strategies secures storage space while minimizing performance degradation.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system applies different compilation strategies to different parts of the codebase based on their importance and storage requirements. Critical performance paths maintain ahead-of-time compilation with full optimization, while less critical components use just-in-time compilation to reduce storage consumption, creating local quality variations in optimization levels.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP4191393B1Electronic device and method for managing memory of electronic device
Publication Date: 2026.02.11 SAMSUNG ELECTRONICS CO LTD
  • EP4191393B1 patent drawingFigure 1
  • EP4191393B1 patent drawingFigure 2
  • EP4191393B1 patent drawingFigure 3~4

AI summary

According to various embodiments, this electronic device includes at least one processor and a memory for storing instructions that can be executed by the processor, wherein the processor can: monitor information about the storage space of the memory and usage histories of a plurality of objects executed by the processor, determine a target object, of which the compile scheme is to be changed, among the plurality of objects on the basis of one or both of the information and the usage histories; and increase the free storage space of the memory by changing the compile scheme of the target object. Other embodiments are possible.