Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof

A technology of mobile communication terminal and java virtual machine, which is applied in the field of mobile communication terminals for garbage collection, can solve problems such as inability to control the timing of garbage collection, and achieve the effect of ensuring accuracy

Inactive Publication Date: 2008-07-16
ZTE CORP
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this patent is that the virtual object heap and physical object heap are not suitable for the implementation of devices with small memory such as mobile communication terminals, and it cannot control the timing of garbage collection, and garbage collection can only be performed when the system reaches a certain point in time

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof
  • Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof
  • Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The technical features of the present invention will be described in detail below in conjunction with the embodiments and accompanying drawings.

[0042] As shown in Figure 1, it is a schematic diagram of the overall structure of the present invention.

[0043] In the mobile communication terminal 100 , the operating system 130 runs on the hardware 140 , and the Java virtual machine 120 performs related operations based on the operating system 130 to provide a running platform for each application software 110 . The mobile communication terminal 100 includes a mobile phone, a PDA, and the like. The Java virtual machine 120 includes various functional modules such as a garbage collection module 200 , a runtime environment 201 , and a Java virtual machine scheduling module 202 . The garbage collection module 200 will perform garbage collection operations on the runtime environment 201 . The runtime environment 201 refers to the method area, heap, execution stack and reg...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a rubbish recovery mobile communication terminal and a rubbish recovery method for a Java virtual machine. The method of the invention comprises the following steps: context environment of a current thread is preserved; all running objects in a memory of the Java virtual machine are traversed, and accessible objects are marked and types of the accessible objects are recorded; memory space of the Java virtual machine which is occupied by unmarked objects is incorporated and released; memory space of the accessible objects is contracted; the convex environment of the current thread is recovered. The invention can rightly distinguish types of objects which are used by a system and predict and record the size of free memories in a memory zone, thereby accuracy of operation of the system is guaranteed. Moreover, the invention divides a system memory into memory blocks with fixed size and the accessible objects are collected into a continuous zone for realization of constrictive memory fragmentation management on allocated memories.

Description

technical field [0001] The invention relates to the field of memory management in a virtual machine environment, in particular to a garbage collection method of a Java virtual machine running on a mobile communication terminal and a garbage collection mobile communication terminal. Background technique [0002] The Java programming language is a cross-platform object-oriented high-level programming language launched by Sun Corporation. Its executable code is a unified standard Java bytecode (Byte code) after compilation. The Java language relies on an emulator called the Java virtual machine (JVM). The JVM enables programmers to deal with virtual machines instead of with the system. Therefore, the functions used by programmers are functions embedded in the JVM, not functions of the operating system. This is very advanced because it provides portability. At the same time, the JVM is also very small and does not take up a lot of memory. This means that the JVM can be used ...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/02G06F9/46H04Q7/32
Inventor 方震
Owner ZTE CORP
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More