System and method for solving memory leak in proxy mode
A technology of memory leakage and proxy mode, applied in the field of Java, can solve the problems of memory leakage of objectA and objectB objects, inconvenient to write code, and objectA objects cannot be released in time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The present invention will be described in detail below in conjunction with specific embodiments.
[0026] The present invention firstly provides a system for solving memory leaks with proxy mode, which includes:
[0027] A judging module: judging two non-static inner classes (the first non-static inner class and the second non-static inner class) that have a strong reference relationship, at least one of which is a non-static inner class with a long life cycle, For example, the first non-static inner class is a non-static inner class with a long life cycle;
[0028] A proxy module: used to insert a proxy non-static internal class between two non-static internal classes;
[0029] A strong reference setting module: set a strong reference relationship between a non-static internal class with a long life cycle (such as the first non-static internal class) and a proxy non-static internal class;
[0030] A weak reference setting module: set a weak reference relationship be...
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