Method for predicting and avoiding danger in execution environment
Abstract
Measurement/analysis unit in a Java virtual machine has the function of measuring data when an event of garbage collection occurs, and the function of periodically measuring data. The measurement/analysis unit analyzes the measured data and predicts a danger of a memory shortage, and predicts a danger using an algorithm depending on the type of garbage collection used by the Java virtual machine. An application server is notified of a warning of the predicted danger of a memory shortage by an analysis result notification means by an inter-process communication, or the like. The measurement/analysis unit calculates a memory capacity required to avoid the predicted danger of a memory shortage, and the calculated memory capacity is transmitted to the application server by the analysis result notification means by an inter-process communication, or the like in the same way as the warning.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for predicting and avoiding a danger in an execution environment on an application program in a computer system in which a memory area assigned to an application program is released by a garbage collection, the method comprising: measuring, when a garbage collection occurs, amount of memory area assigned and not released immediately after the garbage collection; predicting a danger of a memory shortage based on the measured amount of memory area assigned and not released; notifying an application program of a warning of the predicted danger of the memory shortage; extracting a thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- "A Generational GS Scheme that Dynamically Adjusts New Generation Heap Sizes Based on an Efficiency Model", Takahide Yoshikawa and Takashi Chikayama, Journal of Information Processing Society of Japan, Information Processing Society of Japan, vol. 41, No. SIG9 (PRO8), p. 78-86.
- Yoshikawa et al.; A generational GC Scheme that Dynamically Adjusts New Generation Heap Sizes Based on an efficiency Model; vol. 41, No. SIG 9 (PRO8); Nov. 2000; pp. 78-87.