Patent ID: 9268543
Filing Date: 2016-02-23
CPC Classification: G06F

Claim Text:
1. A process for efficient code cache management implemented by a just-in-time compiler, the process comprising: a computer processor determining whether a method is frequently executed; in response to determining that the method is frequently executed, the computer processor placing a compiled code of the method in a first code cache which is a permanent code cache; the computer processor determining whether a number of recompilations due to the method exceeds a predetermined number; in response to determining that the method is not frequently executed and determining that the number of recompilations due to the method does not exceed the predetermined number, the computer processor determining whether a second code cache is full, wherein the second code cache is a transient code cache; in response to determining that the second code cache is not full, the computer processor placing the compiled code in the second code cache; and in response to determining that the second code cache is full, the computer processor flushing a subdivision of the second code cache and then placing the compiled code in the second code cache.