Weak reference implementation method and device oriented to 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 objectives, technical solutions and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
[0023] Such as figure 1 As shown, in one embodiment, a method for implementing a weak reference for a Pool object is provided. The method is suitable for a Pool object, so that the Pool object can implement a weak reference mechanism. The method includes:
[0024] Step 102: Allocate objects through the Pool object pool, and set a unique identification number for the allocated objects. The identification number becomes invalid when the object is recycled into the Pool object pool.
[0025] Object refers to the abstract expression of the concept of things, data, etc. in the computer. It is a resou...
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