CN101221535B - Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof - Google Patents

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

Info

Publication number
CN101221535B
CN101221535B CN200810056889XA CN200810056889A CN101221535B CN 101221535 B CN101221535 B CN 101221535B CN 200810056889X A CN200810056889X A CN 200810056889XA CN 200810056889 A CN200810056889 A CN 200810056889A CN 101221535 B CN101221535 B CN 101221535B
Authority
CN
China
Prior art keywords
virtual machine
java virtual
memory
bitmap
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200810056889XA
Other languages
Chinese (zh)
Other versions
CN101221535A (en
Inventor
方震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200810056889XA priority Critical patent/CN101221535B/en
Publication of CN101221535A publication Critical patent/CN101221535A/en
Application granted granted Critical
Publication of CN101221535B publication Critical patent/CN101221535B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

The garbage reclamation mobile communication terminal and the recovery method of Java Virtual Machine
Technical field
The present invention relates to the memory management field in the virtual machine environment, especially relate to the rubbish recovering method and the garbage reclamation mobile communication terminal of the Java Virtual Machine that moves on the mobile communication terminal.
Background technology
The java applet design language is the cross-platform object-oriented high-level programming language of being released by Sun Microsystems, and its executable code is the Java bytecode (Byte code) of unified standard after the compiling.Java language depends on and is called Java Virtual Machine (Java virtual machine, analog machine JVM).JVM makes the programmer come into contacts with system, but comes into contacts with virtual machine.Therefore the function of programmer's use is the embedded function of JVM, rather than the function of operating system.This is very advanced, because it provides portability.Simultaneously, JVM is also very little, does not take a large amount of internal memories.This means that JVM can be applied to many different machines.For example, televisor, cellular mobile telephone and computing machine.In the mobile communication terminal field, ARM company represents that it has supplied 2.6 hundred million parts of ARMJava softwares that are used for mobile communication terminal at present at present.The multitask Jave virtual machine that mobile-phone manufacturers such as Sony-Ericson and Nokia have developed oneself is used for mobile communication terminal fields such as mobile phone.JVM is used for synchronous processing VoIP, 3D recreation, music download and tasks such as broadcast, Email and instant messages.
In Java Virtual Machine, garbage reclamation is exactly to discharge no longer by the process of the employed object of program automatically.Rubbish recovering method must be able to conclude which to as if no longer be cited, which to as if movable, and can discharge the occupied space of the object that no longer is cited, and not influence moving object.The object that no longer is cited in these objects is called unreachable object.Movable, the object that is cited is called achievable pair and resembles.And achievable pair resembles with unreachable object and is divided into value type object and reference type object according to its memory contents.The value type object refers to its storage is certain type value, and the reference type object is meant quote (pointer in the similar C language) to other object.Simultaneously, traditional rubbish recovering method all is a non-scheduling, and they also are not suitable for mobile communication terminal system.And because the continuous distribution and the recovery in space will inevitably form a large amount of memory fragmentations.These fragments have taken the space and can not participate in the distribution and reclaim, and this can cause the space wasting phenomenon.Though the gross space of fragment is may be enough big, owing to can not participate in the distribution, particularly in the less system of internal memory mobile communication terminal, fragment can cause virtual machine generation unnecessary " low memory " mistake.
The garbage reclamation of JVM saves the user to come out from the heavy burden of release busy internal memory.Make the user can when application development, needn't be concerned about the various worried problem that internal memory reclaims, thereby can improve development efficiency.Simultaneously can being kept perfectly property of helper, avoid because of error (or deliberately) mistakenly releasing memory cause the collapse of Java Virtual Machine.
Existing patent documentation comprises: number of patent application is that 200510061994.9 Chinese patent application " is supported the Java Virtual Machine implementation method of multi-process " and the patent No. is 6070173 United States Patent (USP) " Methodand Apparatus for Assisting Garbage Collection Process within a JavaVirtual Machine " (a kind of method and apparatus that is used for assisting Java Virtual Machine garbage reclamation process).
No. 200510061994.9 the Chinese patent feature is as follows: one, introduce a kind of process switching method of supporting the Java Virtual Machine of multi-process.Two, introduce a kind of process communication method of supporting the Java Virtual Machine of multi-process.Three, introduce a kind of internal memory control method of supporting the Java Virtual Machine of multi-process.The shortcoming of this patent is the Java Virtual Machine of the support multi-process that proposes and is not suitable for the such embedded device field of image drift mobile communication terminal.Its internal memory control method does not have corresponding rubbish recovering method, only points out some internal memory control structures.
No. 6070173 the United States Patent (USP) feature is as follows: one, use virtual objects heap and the auxiliary Java Virtual Machine garbage reclamation process of physical object heap.Two, set the threshold value of virtual objects heap, just carry out garbage reclamation in case system object surpasses this value.The shortcoming of this patent is that virtual objects heap and physical object heap are not useful in this class internal memory small device of mobile communication terminal and realize, and it can not control garbage reclamation opportunity, can only arrive the regular hour in system and put and just carry out garbage reclamation.
Summary of the invention
The problem that desire of the present invention solves is, the rubbish recovering method of Java Virtual Machine in a kind of mobile communication terminal is provided, and is used for the type of the object of right area dispensing system use, the accuracy of assurance system operation.
To achieve these goals, the invention provides the rubbish recovering method of Java Virtual Machine in a kind of mobile communication terminal, comprising:
Preserve the context environmental of current thread;
Object during all operations in the traversal Java Virtual Machine internal memory carries out mark to the zone bit of achievable pair elephant, and the type of achievable pair elephant is carried out record;
The Java Virtual Machine memory headroom that unlabelled object is taken merges and discharges;
Memory headroom to the achievable pair elephant tightens processing;
Recover the context environmental of current thread.
The described step that the type of achievable pair elephant is write down further comprises:
Define a bitmap, the memory headroom of the corresponding described Java Virtual Machine in position in the described bitmap;
The correspondence position position of memory headroom in bitmap to the occupied Java Virtual Machine of the object of reference type or value type.
The step that described zone bit to the achievable pair elephant carries out mark further comprises: in the Java Virtual Machine internal memory the subobject of the object of mark carry out recursion marking.
Before the step of carrying out the context environmental of preserving current thread, the Java Virtual Machine internal memory is divided into the piece of fixed size.
Described deflation treatment step comprises:
When the Java Virtual Machine low memory, travel through described bitmap, determine the position of the object of reference type, reclaim its space; And/or
Travel through described bitmap, collect the object of described value type in the one continuous block position of the object of determined value type.
The step of preserving the context environmental of current thread further comprises before:
The Java Virtual Machine scheduler module is called this garbage reclamation thread according to the priority parameters of garbage reclamation thread, carries out the step of the context environmental of preserving current thread.
The invention also discloses the garbage recovery device of Java Virtual Machine in a kind of mobile communication terminal, described device comprises:
Context environmental is preserved module, is used to preserve the context environmental of current thread;
Mark module, object when being used for traveling through all operations of Java Virtual Machine internal memory carries out mark to the zone bit of achievable pair elephant, and the type of achievable pair elephant is carried out record;
Internal memory merges module, and the Java Virtual Machine memory headroom that is used for that unlabelled object is taken merges and discharges;
Tighten module, be used for the memory headroom of achievable pair elephant is tightened processing;
Context environmental recovers module, is used to recover the context environmental of current thread.
Described mark module further comprises a bitmap logging modle, and this bitmap logging modle is used to define a bitmap, the memory headroom of the corresponding described Java Virtual Machine in position in the described bitmap;
Utilize described bitmap that the type of described achievable pair elephant is carried out record, to the correspondence position position of memory headroom in bitmap of the occupied Java Virtual Machine of the object of reference type or value type.
Described deflation module is used for traveling through described bitmap when the Java Virtual Machine low memory, determines the position of the object of reference type, reclaims its object space; And/or
Travel through described bitmap, collect the object of described value type in the continuous block position of the object of determined value type.
The scheduler module of Java Virtual Machine is carried out this garbage reclamation module according to the priority parameters of described garbage reclamation module.
But the size of free internal memory in the region of memory is predicted and noted to the type of the object that the present invention's right area dispensing system uses.The accuracy of the operation of assurance system like this.In addition, the present invention is divided into the memory block of fixed size with Installed System Memory, achievable pair is resembled collect a continuous zone again, realizes the memory fragmentation management that storage allocation is tightened.
Description of drawings
Figure 1 shows that one-piece construction synoptic diagram of the present invention;
Figure 2 shows that the concrete structure synoptic diagram of garbage reclamation module of the present invention;
Figure 3 shows that concrete treatment step process flow diagram of the present invention;
Figure 4 shows that the detailed realization flow figure of step 304 of the present invention.
Embodiment
Below cooperate embodiment and accompanying drawing, describe technical characterictic of the present invention in detail.
Be illustrated in figure 1 as one-piece construction synoptic diagram of the present invention.
In the mobile communication terminal 100, operating system 130 runs on the hardware 140, and Java Virtual Machine 120 is carried out associative operation based on operating system 130, for each application software 110 provides operation platform.Mobile communication terminal 100 comprises mobile phone, PDA etc.Comprise each functional module such as garbage reclamation module 200, runtime environment 201, Java Virtual Machine scheduler module 202 in the Java Virtual Machine 120.This garbage reclamation module 200 will be carried out the garbage reclamation operation at runtime environment 201.The execution stack of the method district that this runtime environment 201 is applied to when being system's operation, heap, thread and register etc.Java Virtual Machine scheduler module 202 is used for each functional module of Java Virtual Machine is dispatched, so that each module is obtained the execution time of processor successively.Other functional modules are module commonly used of the prior art.
Each functional module in the Java Virtual Machine comprises this garbage reclamation module 200, all possesses priority parameters, and Java Virtual Machine scheduler module 202 will be called according to this priority parameters of each functional module.After operation a period of time, Java Virtual Machine will periodically dynamically promote its priority to garbage reclamation module 200 as the thread of a low priority.Thereby guarantee that when every other thread is in waiting status the garbage reclamation thread with low priority still can be carried out, thereby the free memory of dynamic Adjustment System perhaps, is carried out initiatively when low memory.
See also the concrete structure synoptic diagram that Figure 2 shows that garbage reclamation module 200 of the present invention.
Garbage reclamation module 200 comprises that internal memory is divided module 210, context environmental is preserved module 220, mark module 230, internal memory merging module 240, tightened module 250 and context environmental recovery module 260.
Internal memory is divided module 210 and is used for when moving this garbage reclamation module 200 first, and Installed System Memory is divided into the piece of fixed size, with the complicacy that reduces mobile object and avoid memory fragmentation.For example every can be divided into 32 bytes.One Java object takies one or more usually in memory headroom, these a plurality of physically can be discontinuous.
Context environmental is preserved module 220 and is used to preserve the context environmental of current thread.This context environmental mainly comprises the executive stack pointer of current thread, relevant structure in the current execution stack and current programmable counter pointer.These pointers are used for handling in garbage reclamation the context of back recovery system.
All achievable pairs that mark module 230 is used for the mark Java Virtual Machine resemble, and achievable pair resembles promptly still by the employed object of program.This achievable pair resembles global object and the temporary object that comprises in the Java Virtual Machine, and the variable of overall importance in the Java Virtual Machine, symbol table and in order to write down current all class tables of load classes.Also comprise a bitmap logging modle 231 in the mark module 230, this bitmap logging modle is used to define a bitmap, the memory headroom of the described Java Virtual Machine of position corresponding record in the described bitmap; Utilize described bitmap that the type of described achievable pair elephant is carried out record, to the correspondence position position of memory headroom in bitmap of the occupied Java Virtual Machine of the object of reference type or value type.
The Java Virtual Machine memory headroom that internal memory merging module 240 is used for that unlabelled object is taken merges and discharges; Also can be used for calculating the maximum free memory in the current system.
Tighten module 250 and be used for when current amount of ram is not enough, value type or reference type object being carried out the deflation of memory headroom, reduce memory fragmentation.
Context environmental recovery module 260 is used for the context environmental according to the current thread of preserving, and recovers the context environmental of current thread.
See also and Figure 3 shows that concrete treatment step process flow diagram of the present invention.
Step 301, Java Virtual Machine scheduler module 202 is called this garbage reclamation module 200 according to priority parameters, and garbage reclamation module 200 brings into operation.
Step 302 when moving garbage reclamation module 200 first, utilizes internal memory to divide the piece that module 210 is divided into the Java Virtual Machine internal memory fixed size.
Step 303 is utilized context environmental to preserve module 220 and is preserved the context environmental of current thread.
If the current thread non-NULL is then preserved the context environmental of current thread get off, particularly preserve the executive stack pointer of current thread, relevant structure in the current execution stack and current programmable counter pointer.These pointers are used for handling in garbage reclamation the context of back recovery system.
Step 304, object when all in the traversal Java Virtual Machine internal memory are moved utilizes all achievable pairs in the mark module 230 mark Java Virtual Machines to resemble, and the type of achievable pair elephant is carried out record.
Since among the JVM variable of overall importance and in order to write down current all the class table of load classes all be addressable at whole JVM run duration, thereby also to carry out mark.
See also the detailed realization flow figure that Figure 4 shows that step 304 of the present invention.
Step 401, object when all in the traversal Java Virtual Machine internal memory are moved resembles for achievable pair, with the zone bit set before this object.
This zone bit is the zone bit that is provided with in the data structure of each object of representative.
Step 402, in the internal memory the subobject of the achievable pair elephant of mark be that indirect achievable pair resembles and carries out recursion marking and handle.
Step 403 defines a bitmap, is used for the memory headroom of the java virtual machine of corresponding record mobile communication terminal 100.
In this bitmap one for example is a byte in the corresponding java virutal machine memory.
Step 404, during achievable pair resembled, the shared space correspondence markings in this bitmap of object of value type was " 0 ", space in this bitmap the set shared to the object of reference type, be that correspondence markings is " 1 ", the position that comprises the word correspondence quoted also correspondence markings is " 1 ".
Certainly, also can be to the shared space set in this bitmap of object of value type, promptly correspondence markings is " 1 ", space in this bitmap the correspondence markings shared to the object of reference type is " 0 ".
This labeling method is distinguishing value type and reference type object fast, and definitely understands the distributing position of quoting of all objects.The value and the reference type of the object that garbage reclamation algorithm right area dispensing system of the present invention uses can predict and note that achievable pair resembles the memory size that takies in the region of memory by this bitmap, thereby obtain the size of free internal memory simultaneously.The accuracy of the operation of assurance system like this makes the memory cost minimum.
Please continue to consult Fig. 3.
Step 305, the Java Virtual Machine memory headroom that utilizes 240 pairs of unlabelled objects of internal memory merging module to take merges and discharges.
That is, the Java Virtual Machine memory headroom shared for unreachable object discharges, and makes it become free internal memory, is applied again.
Step 306, current maximum free memory in the computing system, and judge maximum free memory whether greater than the amount of ram of the current needs of system, and if not, execution in step 307, if, execution in step 310.
Step 307 utilizes deflation module 250 to tighten processing.
Travel through described bitmap, determine the position of the object of reference type, reclaim its space according to the zone bit of the object of this reference type; And/or
Travel through described bitmap, collect the object of described value type in the one continuous block position of the object of determined value type, to obtain bigger free memory amount, reduces memory fragmentation.
Step 308 is judged current free memory whether greater than the amount of ram of the current needs of system, if not, and execution in step 309, if, execution in step 310.
Step 309, it is unusual to dish out, and finishes current thread, recovers context environmental, execution in step 311.
Step 310 is recovered context environmental, for thread distributes suitable memory headroom.
Step 311, garbage reclamation module 200 are abdicated processor and are waited for scheduling next time.
Compared with prior art, the present invention introduces a kind of garbage reclamation mobile communication terminal and recovery method of Java Virtual Machine.Rubbish recovering method of the present invention can be carried out or initiatively carry out owing to low memory as the passive module schedules of being dispatched of system thread according to the priority that system gives.Exactly because its schedulability, operation when making it can be in system idle, rather than passive execution during low memory by the time, thus effectively utilized system resource, therefore, the present invention is a kind of rubbish recovering method of progressive operation.But garbage reclamation algorithm of the present invention is the type of the object of right area dispensing system use also, predicts and note the size of free internal memory in the region of memory.The accuracy of the operation of assurance system like this.In addition, garbage reclamation algorithm of the present invention is divided into the memory block of fixed size with Installed System Memory, achievable pair is resembled collect a continuous zone again, realizes the memory fragmentation management that storage allocation is tightened.
Protection scope of the present invention is not limited to above-mentioned explanation, and one of ordinary skill in the art can be made it and revising or change by design of the present invention, and they should belong in the design scope of the present invention.

Claims (10)

1. the rubbish recovering method of Java Virtual Machine in the mobile communication terminal is characterized in that, comprises the steps:
Preserve the context environmental of current thread;
Object during all operations in the traversal Java Virtual Machine internal memory carries out mark to the zone bit of achievable pair elephant, and the type of achievable pair elephant is carried out record;
The Java Virtual Machine memory headroom that unlabelled object is taken merges and discharges;
Memory headroom to the achievable pair elephant tightens processing;
Recover the context environmental of current thread.
2. the method for claim 1 is characterized in that, the described step that the type of achievable pair elephant is write down further comprises:
Define a bitmap, the memory headroom of the described Java Virtual Machine of position corresponding record in the described bitmap;
The correspondence position position of memory headroom in bitmap to the occupied Java Virtual Machine of the object of reference type or value type.
3. method as claimed in claim 1 or 2 is characterized in that, the step that described zone bit to the achievable pair elephant carries out mark further comprises: in the Java Virtual Machine internal memory the subobject of the object of mark carry out recursion marking.
4. the method for claim 1 is characterized in that, before the step of carrying out the context environmental of preserving current thread, the Java Virtual Machine internal memory is divided into the piece of fixed size.
5. method as claimed in claim 2 is characterized in that, described deflation treatment step comprises:
When the Java Virtual Machine low memory, travel through described bitmap, determine the position of the object of reference type, reclaim its space according to the zone bit of the object of this reference type; And/or
Travel through described bitmap, collect the object of described value type in the one continuous block position of the object of determined value type.
6. as claim 1,2,4 or 5 described methods, it is characterized in that the step of preserving the context environmental of current thread further comprises before:
The Java Virtual Machine scheduler module is called this garbage reclamation thread according to the priority parameters of garbage reclamation thread, carries out the step of the context environmental of preserving current thread.
7. the garbage recovery device of Java Virtual Machine in the mobile communication terminal is characterized in that, comprising:
Context environmental is preserved module, is used to preserve the context environmental of current thread;
Mark module, object when being used for traveling through all operations of Java Virtual Machine internal memory carries out mark to the zone bit of achievable pair elephant, and the type of achievable pair elephant is carried out record;
Internal memory merges module, and the Java Virtual Machine memory headroom that is used for that unlabelled object is taken merges and discharges;
Tighten module, be used for the memory headroom of achievable pair elephant is tightened processing;
Context environmental recovers module, is used to recover the context environmental of current thread.
8. the garbage recovery device of Java Virtual Machine in the mobile communication terminal as claimed in claim 7, it is characterized in that, described mark module further comprises a bitmap logging modle, this bitmap logging modle is used to define a bitmap, the memory headroom of the described Java Virtual Machine of position corresponding record in the described bitmap;
Utilize described bitmap that the type of described achievable pair elephant is carried out record, to the correspondence position position of memory headroom in bitmap of the occupied Java Virtual Machine of the object of reference type or value type.
9. the garbage recovery device of Java Virtual Machine in the mobile communication terminal as claimed in claim 8, it is characterized in that, described deflation module, be used for when the Java Virtual Machine low memory, travel through described bitmap, determine the position of the object of reference type, reclaim its space according to the zone bit of the object of this reference type; And/or
Travel through described bitmap, collect the object of described value type in the continuous block position of the object of determined value type.
10. as the garbage recovery device of Java Virtual Machine in claim 7, the 8 or 9 described mobile communication terminals, it is characterized in that the scheduler module of Java Virtual Machine is carried out this garbage reclamation module according to the priority parameters of garbage reclamation module in the Java Virtual Machine.
CN200810056889XA 2008-01-25 2008-01-25 Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof Expired - Fee Related CN101221535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810056889XA CN101221535B (en) 2008-01-25 2008-01-25 Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810056889XA CN101221535B (en) 2008-01-25 2008-01-25 Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof

Publications (2)

Publication Number Publication Date
CN101221535A CN101221535A (en) 2008-07-16
CN101221535B true CN101221535B (en) 2010-06-09

Family

ID=39631387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810056889XA Expired - Fee Related CN101221535B (en) 2008-01-25 2008-01-25 Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof

Country Status (1)

Country Link
CN (1) CN101221535B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116518A (en) * 2013-01-28 2013-05-22 飞天诚信科技股份有限公司 Object management method based on java card virtual machine

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676906B (en) * 2008-09-18 2013-06-05 中兴通讯股份有限公司 Method of managing memory database space by using bitmap
CN101639779B (en) * 2009-08-18 2012-07-18 腾讯科技(深圳)有限公司 Resource release method and device
WO2016041118A1 (en) * 2014-09-15 2016-03-24 Intel Corporation Memory management in virtualized computing
CN105205131B (en) * 2015-09-15 2019-03-26 北京金山安全软件有限公司 Method and device for determining size of junk file and electronic equipment
CN105607924B (en) * 2015-12-16 2019-01-18 天脉聚源(北京)传媒科技有限公司 A kind of downloading management method and device
CN106293878B (en) * 2016-08-05 2019-08-27 北京航空航天大学 A method of dynamic computing object reuses value in JVM
CN108255582B (en) * 2018-01-16 2021-02-02 携程旅游信息技术(上海)有限公司 Method, system, equipment and storage medium for garbage recovery of java virtual machine
CN108845864B (en) * 2018-06-27 2020-11-03 北京京东尚科信息技术有限公司 Spring frame-based JVM garbage recycling method and device
CN110908790B (en) * 2018-09-14 2022-02-22 旺宏电子股份有限公司 Memory storage device and operation method thereof
CN112433809B (en) * 2020-11-05 2023-12-22 北京浪潮数据技术有限公司 JVM memory management method, device, equipment and readable storage medium
CN112597070B (en) * 2020-11-16 2022-10-21 新华三大数据技术有限公司 Object recovery method and device
CN112463626B (en) * 2020-12-10 2023-07-11 网易(杭州)网络有限公司 Memory leakage positioning method and device, computer equipment and storage medium
CN113391882B (en) * 2021-06-28 2023-12-22 北京字节跳动网络技术有限公司 Virtual machine memory management method and device, storage medium and electronic equipment
CN117632379B (en) * 2024-01-25 2024-03-26 大连高德瑞信科技有限公司 JAVA memory stack data analysis method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6070173A (en) * 1997-11-26 2000-05-30 International Business Machines Corporation Method and apparatus for assisting garbage collection process within a java virtual machine
CN1790270A (en) * 2005-12-14 2006-06-21 浙江大学 Java virtual machine implementation method supporting multi-process
CN101046755A (en) * 2006-03-28 2007-10-03 郭明南 System and method of computer automatic memory management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6070173A (en) * 1997-11-26 2000-05-30 International Business Machines Corporation Method and apparatus for assisting garbage collection process within a java virtual machine
CN1790270A (en) * 2005-12-14 2006-06-21 浙江大学 Java virtual machine implementation method supporting multi-process
CN101046755A (en) * 2006-03-28 2007-10-03 郭明南 System and method of computer automatic memory management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116518A (en) * 2013-01-28 2013-05-22 飞天诚信科技股份有限公司 Object management method based on java card virtual machine
CN103116518B (en) * 2013-01-28 2015-09-23 飞天诚信科技股份有限公司 A kind of method based on Object Management group in java card virtual machine

Also Published As

Publication number Publication date
CN101221535A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
CN101221535B (en) Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof
US7127709B2 (en) System and method for jointly managing dynamically generated code and data
US20200174922A1 (en) Resource reclamation method and apparatus
US7519639B2 (en) Method and apparatus for dynamic incremental defragmentation of memory
CN1233797A (en) Site specific message dispatch in object-oriented systems
CN102722432A (en) Method and apparatus for tracing memory access
CN102722415A (en) Garbage collecting method based on Java system on chip (SoC) with stack system structure
CN1237737A (en) Inline database for receiver types in object-oriented systems
CN1367895A (en) Migration of different source languages to executing medium
US7600223B2 (en) Abstracted managed code execution
JP2009037546A (en) Memory management method utilizing thread-inherent area and computer using same method
US8966212B2 (en) Memory management method, computer system and computer readable medium
Chu et al. SenSmart: adaptive stack management for multitasking sensor networks
CN102004662A (en) Embedded scalable virtual machine
US6959430B2 (en) Specialized heaps for creation of objects in object-oriented environments
Wagner et al. “Slimming” a Java virtual machine by way of cold code removal and optimistic partial program loading
Yokote et al. Reflective object management in the Muse operating system
Baumann et al. Module hot-swapping for dynamic update and reconfiguration in K42
US20060101468A1 (en) Cooperative threading in a managed code execution environment
KR100846451B1 (en) Method for allocation stack in multi-threaded sensor operating systems environment
US6944637B2 (en) Reduced size objects headers
US20050149346A1 (en) Method and apparatus for efficient implementation of discontiguous objects
US20060101439A1 (en) Memory management in a managed code execution environment
CN112313631A (en) Closed-loop garbage collector
Higuera-Toledano et al. Analyzing the performance of memory management in RTSJ

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20170125