Java Virtual Machine Reference Table Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The reference table in Java execution environments can overflow due to the accumulation of reference information, leading to system instability and potential crashes, as existing garbage collection methods fail to effectively manage unreachable objects.

Innovation Solution

An electronic device with a processor and memory configured to execute Java applications, where a virtual machine monitors the reference table, identifies applications providing abnormal objects, and terminates or deletes them to prevent overflow by providing reference information and managing object possession.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If garbage collection is performed based on reference information in a reference table, then unreachable objects can be released, but the reference table may overflow when reference information accumulates

Engineering Contradiction:
Improvegarbage collection effectivenessVSAvoidreference table capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The reference table is segmented into multiple tables (first reference table and second reference table) to distribute reference information across separate storage structures. This segmentation prevents any single table from overflowing while maintaining the ability to track and manage unreachable objects for garbage collection.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of organization by creating a correspondence relationship between the first reference table and the second reference table. This dimensional extension allows the system to manage reference information beyond the capacity of a single table, effectively expanding the reference tracking capability without causing overflow in the original table structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Measurement precision

If reference information is continually accumulated to track all objects, then object tracking accuracy is improved, but system stability deteriorates due to reference table overflow

Engineering Contradiction:
Improveobject tracking accuracyVSAvoidsystem stability
Core Design Contradiction:
Measurement precisionVSStability of the object's composition

Solution Approach 1:

By dividing the reference tracking function into multiple tables, the system maintains accurate object tracking while preventing any single table from becoming overloaded. The segmentation allows continuous accumulation of reference information across multiple structures rather than in a single table, preserving both accuracy and stability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a feedback mechanism where the system monitors reference table usage and manages the correspondence between the first and second reference tables. This feedback loop allows the system to maintain accurate tracking while preventing overflow by redistributing reference information as needed.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If the reference table is expanded to accommodate more references, then more objects can be tracked, but the risk of system crash increases

Engineering Contradiction:
Improveobject tracking capacityVSAvoidsystem crash risk
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The reference tracking capacity is expanded through segmentation into multiple tables rather than expanding a single table. This approach increases the system's ability to track objects while distributing the load across multiple structures, thereby reducing the risk of crash that would occur if a single large table were used.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent prepares for potential overflow by establishing a correspondence relationship between the first and second reference tables in advance. This beforehand cushioning mechanism allows the system to handle increased reference capacity without risking system crash, as the structured distribution prevents any single table from reaching critical capacity.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS11934853B2Electronic device and operating method thereof
Publication Date: 2024.03.19 SAMSUNG ELECTRONICS CO LTD
  • US11934853B2 patent drawing
  • US11934853B2 patent drawing
  • US11934853B2 patent drawing

AI summary

Various embodiments of the present invention relate to a method for managing a memory in a Java execution environment, and an electronic device for performing same, and an electronic device may comprise a processor and a memory electrically connected to the processor, wherein: the memory is configured to store multiple Java application programs, and stores instructions that, when executed, cause the processor to execute a virtual machine configured to execute at least one Java application stored in the memory; and when generation of an object is detected during execution of the Java application, the virtual machine executed by the processor generates a reference for the generated object, identifies an application, which has generated the object by a threshold or more, on the basis of the generated reference, and provides information on the identified application to the processor. Other embodiments may also be possible.