System and method for recycling garbage object in self-adaptive way

An adaptive and object technology, applied in the field of JAVA virtual machine, can solve problems such as memory leakage, avoid waste and improve utilization.
CN101894049AInactive Publication Date: 2010-11-24ZTE CORP

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
ZTE CORP
Publication Date
2010-11-24
Estimated Expiration
Not applicable ยท inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a system and a method for recycling a garbage object in a self-adaptive way. The method comprises the following step of: releasing an in-pile space and an external space of the object while releasing a JAVA garbage object during the running period of the system. Due to the adoption of the technical scheme of the invention, all spaces occupied by the garbage object are released, so that waste of a memory space is avoided; and moreover, the garbage object is released according to a current system running demand, but all garbage objects are not released at one time, so that the utilization ratio of a central processing unit (CPU) resource is enhanced, and the performance of a JAVA virtual machine is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of JAVA virtual machines, in particular to a system and method for adaptively recycling garbage objects. Background technique

[0002] JAVA is currently the most widely used programming language. Because of its cross-platform and strong portability, JAVA is favored by programmers. JAVA programs are widely used in servers, PCs, mobile terminals, and embedded consumer electronics products. , smart cards and other fields, and is expanding to a wider range of fields.

[0003] JAVA evolved from the traditional object-oriented language C++ and runs on the JAVA virtual machine, which manages resources and shields platform dependencies. The control and timely release of memory is a very complicated task. In order to free programmers from this task, the JAVA virtual machine has established a garbage collection mechanism.

[0004] The current garbage collection scheduling algorithms are:

[0005] 1. The system regularly trav...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More