CN102053834A - Method and device for storing JAVA object - Google Patents

Method and device for storing JAVA object Download PDF

Info

Publication number
CN102053834A
CN102053834A CN2010106119957A CN201010611995A CN102053834A CN 102053834 A CN102053834 A CN 102053834A CN 2010106119957 A CN2010106119957 A CN 2010106119957A CN 201010611995 A CN201010611995 A CN 201010611995A CN 102053834 A CN102053834 A CN 102053834A
Authority
CN
China
Prior art keywords
java object
handle
discarded
java
storage space
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.)
Pending
Application number
CN2010106119957A
Other languages
Chinese (zh)
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.)
Beijing WatchData System Co Ltd
Original Assignee
Beijing WatchData System Co Ltd
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 Beijing WatchData System Co Ltd filed Critical Beijing WatchData System Co Ltd
Priority to CN2010106119957A priority Critical patent/CN102053834A/en
Publication of CN102053834A publication Critical patent/CN102053834A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention discloses a method and device for storing a JAVA object. The method provided by the invention comprises the following steps: searching a handle achieving a preset condition in the handles corresponding to the discarded JAVA object when the JAVA object newly established needs to be stored; and storing the JAVA object newly established into a storage space occupied by the discarded JAVA object corresponding to the searched handle. By adopting the technical scheme in the invention, the problems that much processing time and more processing resources are wasted and the processing speed of a JAVA card is reduced when the garage recycle is carried out on the JAVA object in the prior art are solved.

Description

The storage means of JAVA object and device
Technical field
The present invention relates to technical field of intelligent card, relate in particular to a kind of storage means and device of JAVA object.
Background technology
The JAVA card is a kind of smart card that can move the JAVA program, the program of moving in the JAVA card is applet (Applet), card has been realized the system application DLL (dynamic link library) (API of the needed running environment of operation Applet program, the virtual machine of explaining the JAVA language and standard, Application Programming Interfaces), these functions have guaranteed that the Applet program can move on the JAVA card.
Garbage reclamation is a big characteristic of JAVA language, different with C Plus Plus, the JAVA language can be autonomous judge the JAVA object that does not re-use, i.e. Fei Qi JAVA object is when the JAVA object no longer is cited, when perhaps the Applet program can't find the JAVA object, this JAVA object is discarded JAVA object, the JAVA language can reclaim it after finding discarded JAVA object, so that newly-built JAVA object has enough storage spaces.JAVA is to liking memory allocated space from the JAVA heap, the JAVA heap is the data storage area of JAVA, JAVA heap major part on the JAVA card is on EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM, Electrically Erasable Programmable Read-Only Memory).
In the prior art, the method for the JAVA object being carried out garbage reclamation is mainly following two kinds, is specially:
First method, mark-sweep-out method: mark-removing gatherer at first travels through all JAVA objects and the accessibility JAVA object of mark, scan storehouse then seeking unlabelled JAVA object (i.e. Fei Qi JAVA object), and discharge their internal memory, be i.e. the discarded JAVA object of deletion.
In above-mentioned first method, when the JAVA object that deletion is discarded, also relate to the operation that the JAVA object moves, for example JAVA object A, B, C, D are stored in the JAVA card in order, wherein the JAVA object B is discarded JAVA object, after the deletion JAVA object B, need JAVA object C and D be moved forward in proper order, therefore when the JAVA object that deletion is discarded, also need to carry out the move operation of JAVA object.
Because the JAVA object storage in the JAVA card on EEPROM, therefore when carrying out garbage reclamation, can be carried out a large amount of read-write operations to EEPROM, this has just expended more processing time and the processing resource of JAVA card, has reduced the processing speed of JAVA card.
Second method, mark-compression method: mark-compression gatherer at first travels through JAVA object and the accessibility JAVA object of mark, then the JAVA object tools of mark in new storage space, so that compress storehouse.
In above-mentioned second method, the JAVA object of never mark is that useful JAVA object is put together in fact, this method need be carried out very many JAVA object move operations, therefore also can carry out a large amount of read-write operations to EEPROM, this has also expended more processing time and the processing resource of JAVA card, has reduced the processing speed of JAVA card.
Summary of the invention
The embodiment of the invention provides a kind of storage means and device of JAVA object, in order to solve exist in the prior art the JAVA object is carried out garbage reclamation the time, expended the more processing time and handled resource, reduced the problem of the processing speed of JAVA card.
Embodiment of the invention technical scheme is as follows:
A kind of storage means of JAVA object, the method comprising the steps of: when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, search and satisfy pre-conditioned handle; With described newly-built JAVA object storage in the shared storage space of the discarded JAVA object of the handle correspondence that finds.
A kind of memory storage of JAVA object comprises: search the unit, be used in the handle of discarded JAVA object correspondence, searching and satisfying pre-conditioned handle when needs are stored newly-built JAVA object; Storage unit is used for described newly-built JAVA object storage to the discarded shared storage space of JAVA object of searching the handle correspondence that the unit finds.
In the embodiment of the invention technical scheme, when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, search and satisfy pre-conditioned handle, then with described newly-built JAVA object storage in the shared storage space of the discarded JAVA object of the handle correspondence that finds, that is to say in the embodiment of the invention when carrying out the garbage reclamation of JAVA object, no longer be that discarded JAVA object is deleted or useful JAVA object is moved, the JAVA card just can not operated discarded JAVA object more so, therefore save the processing time and handled resource, when needs are stored newly-built JAVA object, directly search and satisfy pre-conditioned handle, the JAVA object storage that this is newly-built gets final product in the shared storage space of the discarded JAVA object of the handle correspondence that finds, can either be newly-built JAVA object memory allocated space like this, can avoid that again discarded JAVA object is carried out reclaimer operation and expend the processing time and handle resource, therefore can improve the treatment effeciency of JAVA card effectively.
Description of drawings
Fig. 1 is in the embodiment of the invention, the storage means schematic flow sheet of JAVA object;
Fig. 2 is in the embodiment of the invention, the storage means specific implementation schematic flow sheet of JAVA object;
Fig. 3 is in the embodiment of the invention, the memory device structure synoptic diagram of JAVA object.
Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
As shown in Figure 1, be the storage means process flow diagram of JAVA object in the embodiment of the invention, its concrete treatment scheme is as follows:
Step 11 when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, is searched and is satisfied pre-conditioned handle;
In the embodiment of the invention, search when satisfying pre-conditioned handle, at first need to determine discarded JAVA object, then when needs are stored newly-built JAVA object, in the handle of the discarded JAVA object correspondence of determining, search and satisfy pre-conditioned handle.Need to prove, be not that the newly-built JAVA object of each storage all needs to determine earlier before discarded JAVA object.
Wherein, can but be not limited to determine discarded JAVA object by following two kinds of methods, be specially:
First method: at first at each JAVA object, determine that this JAVA object is by the number of times of other JAVA object references, quote number of times and be zero JAVA object and can think the isolated JAVA object that can't find by other JAVA objects, therefore can be zero JAVA object with the number of times of determining, the JAVA object that is defined as discarding;
Second method: because the JAVA card is an initial point with the Applet object, therefore be basic point with all Applet objects, search its all subobjects, the subobject of subobject ..., and the like, till can not find subobject, the JAVA object that finds is formed an object tree graph, according to the object tree graph of forming, determine the JAVA object that to locate, i.e. JAVA object of not located by the object tree graph, therefore these JAVA objects are discarded JAVA object owing to can not be found by the program that with the Applet object serves as the operation initial point.
The embodiment of the invention will be distinguished useful JAVA object and discarded JAVA object in all JAVA objects of storage, to this, the embodiment of the invention proposes two kinds of implementations, is specially:
First kind of implementation, the handle of discarded JAVA object correspondence is stored in the default discarded object handle storage space, follow-up searching in described discarded object handle storage space satisfied pre-conditioned handle, this comes down in the embodiment of the invention JAVA object to be carried out the step of garbage reclamation, the embodiment of the invention is when carrying out garbage reclamation, no longer discarded JAVA object is deleted or moved useful JAVA object, but the handle of discarded JAVA object is stored in the default storage space;
Second kind of implementation, the handle of discarded JAVA object correspondence is designated discarded object handle, follow-up searching in the discarded object handle that identifies satisfied pre-conditioned handle, this comes down in the embodiment of the invention JAVA object to be carried out the step of garbage reclamation, the embodiment of the invention is when carrying out garbage reclamation, no longer discarded JAVA object is deleted or moved useful JAVA object, but the handle of discarded JAVA object is identified, be designated discarded object handle.
The JAVA card manages object based on handle, the JAVA cartoon is crossed handle can find the shared storage space of object, the handle of object is actually the index of seeking this object, identify the storage space of storing this object, comprised the position and the size of storage space, for example, the handle of certain object is 0x0001 on the JAVA card, so just can find the storage space of this object of storage by this handle of 0x0001, this moment the length of handle and JAVA stack appearance etc., the handle on the JAVA card is two bytes.
In the embodiment of the invention, when the JAVA card is confirmed memory space inadequate or have JAVA invokes system API, just can start the garbage reclamation mechanism of JAVA card, at first travel through all objects in the JAVA card, determine discarded object, the handle of the discarded object determined is all put into default discarded object handle storage space (also can be called " garbage recycling bin ") storage, and perhaps the handle of the discarded object that will determine is designated discarded object handle.
Because the embodiment of the invention is carrying out not having the discarded shared storage space of JAVA object of actual recovered when above-mentioned garbage reclamation is operated, promptly Fei Qi JAVA object does not have deleted or mobile, therefore save the processing time of JAVA card and handled resource, but because the storage space of discarded JAVA object is not retracted, therefore when newly-built JAVA object, also need the storage space of discarded JAVA object is used again, be specially:
When creating new JAVA object, the JAVA virtual machine is to the available handle of JAVA card application, and the JAVA card can be searched and satisfy pre-conditioned handle, to strive for utilizing these handle corresponding memory space again earlier in the handle of discarded JAVA object.
Wherein, search satisfy pre-conditioned handle process can but be not limited to: the size of at first determining the storage space that described newly-built JAVA object is required, at each discarded JAVA object, handle according to this discarded JAVA object correspondence, determine the size of the storage space that this discarded JAVA object is shared, in discarded JAVA object, search the discarded JAVA object of shared storage space more than or equal to the required storage space of described newly-built JAVA object, the handle of the discarded JAVA object correspondence that will find then is defined as satisfying pre-conditioned handle.
If do not find and satisfy pre-conditioned handle, then can redistribute a handle for this newly-built JAVA object, for example, handle that can the next one is available (maximal value that is current already present handle adds) is as the handle of newly-built JAVA object.
Step 12, with described newly-built JAVA object storage in the shared storage space of the discarded JAVA object of the handle correspondence that finds.
If step 11 has found and has satisfied pre-conditioned handle, then can directly this handle be distributed to this newly-built JAVA object, be about to newly-built JAVA object storage in the shared storage space of the discarded JAVA object of this handle correspondence, cover the discarded JAVA object of the original storage of this storage space;
If step 11 does not find and satisfies pre-conditioned handle, then be that newly-built JAVA object distributes new handle, on heap, distribute new storage space to give this newly-built JAVA object then.
In addition, at above-mentioned first kind of implementation (handle of discarded JAVA object correspondence is stored in the default discarded object handle storage space), if in discarded object handle storage space, found and satisfied pre-conditioned handle, with newly-built JAVA object storage behind the shared storage space of the discarded JAVA object of the handle correspondence that finds, also need in discarded object handle storage space, the handle that finds be deleted, because this handle has no longer belonged to the handle of discarded JAVA object;
At above-mentioned second kind of implementation (handle of discarded JAVA object correspondence is designated discarded object handle), satisfy pre-conditioned handle if in the discarded object handle that identifies, found, with newly-built JAVA object storage behind the shared storage space of the discarded JAVA object of the handle correspondence that finds, the handle that also needs to find is designated useful object handle, because this handle has no longer belonged to the handle of discarded JAVA object.
By above-mentioned processing procedure as can be known, in the embodiment of the invention technical scheme, when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, search and satisfy pre-conditioned handle, then with described newly-built JAVA object storage in the shared storage space of the discarded JAVA object of the handle correspondence that finds, that is to say in the embodiment of the invention when carrying out the garbage reclamation of JAVA object, no longer be that discarded JAVA object is deleted or useful JAVA object is moved, the JAVA card just can not operated discarded JAVA object more so, therefore save the processing time and handled resource, when needs are stored newly-built JAVA object, directly search and satisfy pre-conditioned handle, the JAVA object storage that this is newly-built gets final product in the shared storage space of the discarded JAVA object of the handle correspondence that finds, can either be newly-built JAVA object memory allocated space like this, can avoid that again discarded JAVA object is carried out reclaimer operation and expend the processing time and handle resource, therefore can improve the treatment effeciency of JAVA card effectively.
Provide more specifically embodiment below.
As shown in Figure 2, be the storage means specific implementation schematic flow sheet of JAVA object in the embodiment of the invention, its concrete processing procedure is as follows:
Step 21, when the JAVA card was confirmed memory space inadequate or have JAVA invokes system API, all JAVA objects in the traversal JAVA card were determined discarded JAVA object;
Step 22 all stores the handle of the discarded JAVA object determined in the default discarded object handle storage space (also can be called " garbage recycling bin ");
Step 23 when needs are stored newly-built JAVA object, is determined the newly-built required storage space of JAVA object;
Step 24, judgement is in discarded object handle storage space, can find and satisfy pre-conditioned handle, if judged result is for being, then go to step 25, if judged result then goes to step 27 for not, wherein satisfy the discarded shared storage space of JAVA object of pre-conditioned handle correspondence, more than or equal to the required storage space of newly-built JAVA object;
Step 25 in the shared storage space of the discarded JAVA object of this handle correspondence, covers the discarded JAVA object of the original storage of this storage space with newly-built JAVA object storage;
Step 26, this handle that deletion finds in discarded object handle storage space, flow process finishes;
Step 27 for newly-built JAVA object distributes new handle, and distributes new storage space to give this newly-built JAVA object on heap, and flow process finishes.
Accordingly, the embodiment of the invention also provides a kind of memory storage of JAVA object, and its structure comprises and search unit 31 and storage unit 32 as shown in Figure 3, wherein:
Search unit 31, be used for when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, searching and satisfying pre-conditioned handle;
Storage unit 32 is used for described newly-built JAVA object storage to the discarded shared storage space of JAVA object of searching the handle correspondence that unit 31 finds.
Preferably, search unit 31 and comprise that specifically first determines that subelement and first searches subelement, wherein:
First determines subelement, is used for determining discarded JAVA object;
First searches subelement, is used for when needs are stored newly-built JAVA object, determines to search and satisfy pre-conditioned handle in the handle of the discarded JAVA object correspondence that subelement is determined first.
More preferably, first determines that subelement specifically comprises first determination module and/or second determination module, wherein:
First determination module is used for each JAVA object, determines this JAVA object by the number of times of other JAVA object references, is zero JAVA object with the number of times of determining, the JAVA object that is defined as discarding;
Second determination module is used for determining the JAVA object that can not locate at all JAVA objects, with the JAVA object of determining that can not locate, the JAVA object that is defined as discarding.
Preferably, search unit 31 and comprise that specifically second searches subelement and/or the 3rd and search subelement, wherein:
Second searches subelement, is used for the handle of discarded JAVA object correspondence is stored in default discarded object handle storage space, in described discarded object handle storage space, searches and satisfies pre-conditioned handle;
The 3rd searches subelement, is used for the handle of discarded JAVA object correspondence is designated discarded object handle, in the discarded object handle of sign, searches and satisfies pre-conditioned handle.
More preferably, the memory storage of described JAVA object also comprises delete cells, being used for searching subelement second finds at described discarded object handle storage space and satisfies pre-conditioned handle, after storage unit 32 is searched described newly-built JAVA object storage to the second in the shared storage space of the discarded JAVA object of the handle correspondence that subelement finds, in described discarded object handle storage space, search the handle that subelement finds with second and delete.
More preferably, the memory storage of described JAVA object also comprises identify unit, being used for searching subelement the 3rd finds and satisfies pre-conditioned handle at the discarded object handle of sign, after storage unit 32 is searched described newly-built JAVA object storage to the three in the shared storage space of the discarded JAVA object of the handle correspondence that subelement finds, search the handle that subelement finds with the 3rd and be designated useful object handle.
Preferably, search unit 31 and comprise that specifically second determines that subelement, the 3rd determines that subelement, the 4th searches subelement and the 4th and determine subelement, wherein:
Second determines subelement, is used for determining the size of the storage space that described newly-built JAVA object is required;
The 3rd determines subelement, is used for according to the handle of this discarded JAVA object correspondence, determining the size of the storage space that this discarded JAVA object is shared at each discarded JAVA object;
The 4th searches subelement, is used at discarded JAVA object, searches the discarded JAVA object of shared storage space more than or equal to the required storage space of described newly-built JAVA object;
The 4th determines subelement, is used for searching the handle of the discarded JAVA object correspondence that subelement finds with the 4th, is defined as satisfying pre-conditioned handle.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. the storage means of a JAVA object is characterized in that, comprising:
When needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, search and satisfy pre-conditioned handle;
With described newly-built JAVA object storage in the shared storage space of the discarded JAVA object of the handle correspondence that finds.
2. the storage means of JAVA object as claimed in claim 1 is characterized in that, describedly searches and satisfies pre-conditioned handle in the handle of discarded JAVA object correspondence, specifically comprises:
Determine discarded JAVA object;
When needs are stored newly-built JAVA object, in the handle of the discarded JAVA object correspondence of determining, search and satisfy pre-conditioned handle.
3. the storage means of JAVA object as claimed in claim 2 is characterized in that, described definite discarded JAVA object specifically comprises:
To each JAVA object, determine this JAVA object by the number of times of other JAVA object references, be zero JAVA object with the number of times of determining, the JAVA object that is defined as discarding; Or
In all JAVA objects, determine the JAVA object that to locate, with the JAVA object of determining that can not locate, the JAVA object that is defined as discarding.
4. the storage means of JAVA object as claimed in claim 1 is characterized in that, describedly searches and satisfies pre-conditioned handle in the handle of discarded JAVA object correspondence, specifically comprises:
The handle of discarded JAVA object correspondence is stored in the default discarded object handle storage space, in described discarded object handle storage space, searches and satisfy pre-conditioned handle; Or
The handle of discarded JAVA object correspondence is designated discarded object handle, in the discarded object handle of sign, searches and satisfy pre-conditioned handle.
5. the storage means of JAVA object as claimed in claim 4, it is characterized in that, in described discarded object handle storage space, find and satisfy pre-conditioned handle, and, also comprise after described newly-built JAVA object storage is in the shared storage space of the discarded JAVA object of the handle correspondence that finds:
In described discarded object handle storage space, the handle that finds is deleted.
6. the storage means of JAVA object as claimed in claim 4, it is characterized in that, in the discarded object handle of sign, find and satisfy pre-conditioned handle, and, also comprise after described newly-built JAVA object storage is in the shared storage space of the discarded JAVA object of the handle correspondence that finds:
The handle that finds is designated useful object handle.
7. as the storage means of any described JAVA object of claim 1~6, it is characterized in that, in the handle of discarded JAVA object correspondence, search and satisfy pre-conditioned handle, specifically comprise:
Determine the size of the storage space that described newly-built JAVA object is required;
At each discarded JAVA object,, determine the size of the storage space that this discarded JAVA object is shared according to the handle of this discarded JAVA object correspondence;
In discarded JAVA object, search the discarded JAVA object of shared storage space more than or equal to the required storage space of described newly-built JAVA object;
Handle with the discarded JAVA object correspondence that finds is defined as satisfying pre-conditioned handle.
8. the memory storage of a JAVA object is characterized in that, comprising:
Search the unit, be used for when needs are stored newly-built JAVA object, in the handle of discarded JAVA object correspondence, searching and satisfying pre-conditioned handle;
Storage unit is used for described newly-built JAVA object storage to the discarded shared storage space of JAVA object of searching the handle correspondence that the unit finds.
9. the memory storage of JAVA object as claimed in claim 8 is characterized in that, searches the unit and specifically comprises:
First determines subelement, is used for determining discarded JAVA object;
First searches subelement, is used for when needs are stored newly-built JAVA object, determines to search and satisfy pre-conditioned handle in the handle of the discarded JAVA object correspondence that subelement is determined first.
10. the memory storage of JAVA object as claimed in claim 9 is characterized in that, first determines that subelement specifically comprises first determination module and/or second determination module, wherein:
First determination module is used for each JAVA object, determines this JAVA object by the number of times of other JAVA object references, is zero JAVA object with the number of times of determining, the JAVA object that is defined as discarding;
Second determination module is used for determining the JAVA object that can not locate at all JAVA objects, with the JAVA object of determining that can not locate, the JAVA object that is defined as discarding.
11. the memory storage of JAVA object as claimed in claim 8 is characterized in that, searches the unit and comprises that specifically second searches subelement and/or the 3rd and search subelement, wherein:
Second searches subelement, is used for the handle of discarded JAVA object correspondence is stored in default discarded object handle storage space, in described discarded object handle storage space, searches and satisfies pre-conditioned handle;
The 3rd searches subelement, is used for the handle of discarded JAVA object correspondence is designated discarded object handle, in the discarded object handle of sign, searches and satisfies pre-conditioned handle.
12. the memory storage of JAVA object as claimed in claim 11 is characterized in that, the memory storage of described JAVA object also comprises:
Delete cells, being used for searching subelement second finds at described discarded object handle storage space and satisfies pre-conditioned handle, after storage unit is searched described newly-built JAVA object storage to the second in the shared storage space of the discarded JAVA object of the handle correspondence that subelement finds, in described discarded object handle storage space, search the handle that subelement finds with second and delete.
13. the memory storage of JAVA object as claimed in claim 11 is characterized in that, the memory storage of described JAVA object also comprises:
Identify unit, being used for searching subelement the 3rd finds and satisfies pre-conditioned handle at the discarded object handle of sign, after storage unit is searched described newly-built JAVA object storage to the three in the shared storage space of the discarded JAVA object of the handle correspondence that subelement finds, search the handle that subelement finds with the 3rd and be designated useful object handle.
14. the memory storage as any described JAVA object of claim 8~13 is characterized in that, searches the unit and specifically comprises:
Second determines subelement, is used for determining the size of the storage space that described newly-built JAVA object is required;
The 3rd determines subelement, is used for according to the handle of this discarded JAVA object correspondence, determining the size of the storage space that this discarded JAVA object is shared at each discarded JAVA object;
The 4th searches subelement, is used at discarded JAVA object, searches the discarded JAVA object of shared storage space more than or equal to the required storage space of described newly-built JAVA object;
The 4th determines subelement, is used for searching the handle of the discarded JAVA object correspondence that subelement finds with the 4th, is defined as satisfying pre-conditioned handle.
CN2010106119957A 2010-12-29 2010-12-29 Method and device for storing JAVA object Pending CN102053834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106119957A CN102053834A (en) 2010-12-29 2010-12-29 Method and device for storing JAVA object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106119957A CN102053834A (en) 2010-12-29 2010-12-29 Method and device for storing JAVA object

Publications (1)

Publication Number Publication Date
CN102053834A true CN102053834A (en) 2011-05-11

Family

ID=43958191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106119957A Pending CN102053834A (en) 2010-12-29 2010-12-29 Method and device for storing JAVA object

Country Status (1)

Country Link
CN (1) CN102053834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799660A (en) * 2012-07-04 2012-11-28 北京中电华大电子设计有限责任公司 JAVA card object management method
CN108958943A (en) * 2018-07-25 2018-12-07 北京小米移动软件有限公司 Memory release method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536922A (en) * 2003-04-04 2004-10-13 乐金电子(中国)研究开发中心有限公司 File storage space management method for mobile communication terminal
CN1687904A (en) * 2005-06-16 2005-10-26 北京航空航天大学 Method for controlling smart card storage environment
US6996566B1 (en) * 2000-11-21 2006-02-07 International Business Machines Corporation Method and system for an object model with embedded metadata and mapping information
CN101777061A (en) * 2009-12-31 2010-07-14 北京握奇数据系统有限公司 JAVA card object management method and JAVA card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996566B1 (en) * 2000-11-21 2006-02-07 International Business Machines Corporation Method and system for an object model with embedded metadata and mapping information
CN1536922A (en) * 2003-04-04 2004-10-13 乐金电子(中国)研究开发中心有限公司 File storage space management method for mobile communication terminal
CN1687904A (en) * 2005-06-16 2005-10-26 北京航空航天大学 Method for controlling smart card storage environment
CN101777061A (en) * 2009-12-31 2010-07-14 北京握奇数据系统有限公司 JAVA card object management method and JAVA card

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799660A (en) * 2012-07-04 2012-11-28 北京中电华大电子设计有限责任公司 JAVA card object management method
CN108958943A (en) * 2018-07-25 2018-12-07 北京小米移动软件有限公司 Memory release method and device
CN108958943B (en) * 2018-07-25 2021-02-09 北京小米移动软件有限公司 Memory release method and device

Similar Documents

Publication Publication Date Title
CN102521145B (en) Java card system and space distribution processing method thereof
US7480782B2 (en) Reference-updating using per-chunk referenced-address ranges in a compacting garbage collector
EP3583504B1 (en) Resource reclamation method and apparatus
CN101221535B (en) Garbage recovery mobile communication terminal of Java virtual machine and recovery method thereof
US7716258B2 (en) Method and system for multiprocessor garbage collection
CN1321377C (en) Method for controlling smart card storage environment
US7412466B1 (en) Offset-based forward address calculation in a sliding-compaction garbage collector
CN105159777A (en) Process memory collection method and apparatus
CN100530140C (en) Memory management method for application program
CN104503710A (en) Method and device for increasing writing speed of nand flash
US10031843B2 (en) Managing memory in a computer system
CN103646063B (en) A kind of spaceborne high speed document management system
CN103473296A (en) Recycle bin mechanism and recycle bin system applicable to cloud computing
EP0951677A1 (en) Space-limited marking structure for tracing garbage collectors
CN105205009A (en) Address mapping method and device based on large-capacity solid storage
CN101777061B (en) JAVA card object management method and JAVA card
CN104008111A (en) Data storage management method and device
CN102508788A (en) SSD (solid state drive) and SSD garbage collection method and device
CN102073592B (en) Quick read-write method and device for flash memory
CN102591788B (en) Method for recovering Java card garbage
CN102053834A (en) Method and device for storing JAVA object
CN108536609B (en) Memory fragment management system and method
CN102270134B (en) Method and device for recycling garbage in Java card
CN102981964B (en) The management method of data space and system
CN102999427B (en) Memory hole detection and clearing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110511