Method and system for dynamically loading data structures into memory with global constant pool
a data structure and global constant technology, applied in the field of loading data structures into memory, can solve the problem that constants may require a significant amount of memory
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0017]The following is a description of embodiments of the invention. The embodiments shown help to illustrate the invention. However, it is not intended that the invention be limited to the precise embodiments shown.
[0018]Java classes are stored in Java class files. Each class typically includes a constant pool, which contains a set of constants used by the class. Constants from one class are often duplicated in other classes. This duplication can result in a waste of memory if the constants are stored redundantly in the system's memory. The Java Virtual Machine loads classes to be executed from the class files. According to one embodiment of the invention, a global constant pool is created in order to avoid waste of memory for redundantly stored constants. When a class is loaded, the global constant pool is checked to determine whether any of the constants in the class are already in the global constant pool. Such constants are not stored in the constant pool. Constants from the c...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap