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

Method and device for managing object heap by using parasitic object

A technology of object management and object heap, which is applied in the computer field, can solve the problem of low space utilization of object heap, achieve the effect of improving space utilization, improving work efficiency, and reducing the number of movements

Active Publication Date: 2014-02-05
FEITIAN TECHNOLOGIES
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for managing object heaps using parasitic objects to solve the defect of low space utilization of object heaps in the prior art

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
  • Method and device for managing object heap by using parasitic object
  • Method and device for managing object heap by using parasitic object
  • Method and device for managing object heap by using parasitic object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] The technical solution of the embodiment of the present invention is applied in the object heap of the Java Card virtual machine, which contains parasitic objects and non-parasitic objects, wherein the non-parasitic objects are Java objects created when the Java program is running, and the parasitic objects are used for marking Free space in the object heap. The address of the first parasitic object in the object heap is stored in the system information...

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 method and a device for managing an object heap by using a parasitic object. According to the method and the device, a free space in the object heap is marked by using the parasitic object and a space is applied for an object to be established in the object heap according to the parasitic object so as to effectively manage the free space in the object heap and improve the space utilization rate of the object heap; after package deletion or application deletion operation is carried out and after detecting a pre-set API (Application Programming Interface) corresponding to java card application program calling and garbage recycling, only a dummy instruction needs to be operated and the garbage recycling does not need to be carried out through moving the established object in the object heap, so that moving times of the established object are reduced and the time consumption caused by moving the object is reduced, the working efficiency of a Java card virtual machine is improved and the abrasion balance is reached to a certain extent.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for managing object heaps using parasitic objects. Background technique [0002] In the prior art, the Java Card virtual machine stores the created object in the object heap, and when the created object needs to be used, obtains the reference value of the object from the object table, and uses the reference value to access the object in the object heap. the object. When the Java Card virtual machine creates a new object, the space requested for the new object is usually the space behind the last object in the object heap. If the space behind the last object in the object heap is smaller than the space occupied by the new object, the Java Card virtual machine returns an error message of insufficient resources. In addition, after the Java Card virtual machine executes the operation of deleting packages or applications, and after detecting that the Java Card ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products