Method and device for implementing weak reference of pool object
An implementation method and weak reference technology, applied in the computer field, can solve problems such as inability to apply Pool objects and speed up memory access to memory fragmentation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0023] Such as figure 1 As shown, in one embodiment, a pool object-oriented weak reference implementation method is provided, the method is applicable to the Pool object, so that the Pool object can implement the weak reference mechanism. The method includes:
[0024] Step 102, allocate an object through the Pool object pool, and set a unique identification number for the allocated object, and the identification number becomes invalid when the object is recycled to the Pool object pool.
[0025] Object refers to the abstract expression of the concept of things, data, etc. in the computer. It is a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com