Optimizing software program execution during class loading phase
Abstract
A mechanism is provided for optimizing computer program execution during class loading phase. As a code method of the program is received for compiling prior to execution, a check is performed whether program execution is in class loading phase. Program execution is in class loading phase where the class loading rate exceeds a pre-determined level during a pre-determined interval. If the program is in class loading phase, then compiling is reduced by lowering frequency of just-in-time (JIT) compilation, lowering optimization level of just-in-time compilation, or a combination of the two. The code method may also be passed to an interpreter to be interpreted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 12.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for optimizing execution of a software program during class loading phase, comprising the steps of: receiving a code method of the program for compiling; detecting, by a sampling thread, whether program execution is in class loading phase, wherein program execution is in class loading phase if the class loading rate exceeds a predetermined level; reducing compiling responsive to the sampling thread detecting that program execution is in class loading phase; and returning compiling to a non-reduced state responsive to the sampling thread detecting that program execution is no longer in
- Claim 2Depends on #1
The method of claim 1 , wherein the step of reducing compiling comprises lowering frequency of JIT compilation.
- Claim 3Depends on #1
The method of claim 1 , wherein the step of reducing compiling comprises lowering optimization level of JI
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗