Patent ID: 9495184
Filing Date: 2016-11-15
CPC Classification: G06F

Claim Text:
1. A method for removing tenant initialization check per tenant for compiled code, the method comprising: receiving, by one or more processors, a request to create a tenant; creating, by one or more processors, the tenant; marking, by one or more processors, a current thread of the tenant as not eligible to run just-in-time (JIT) code, wherein the marking indicates that when a method is invoked, a non-JIT version of the method is executed; executing, by one or more processors, initialization of a first class from an optimization list, wherein the optimization list is a configurable list of classes to be initialized prior to running JIT code; determining, by one or more processors, that class initialization has been executed for all classes on the optimization list; and responsive to determining that there are no more classes on the optimization list, adjusting, by one or more processors, the marking to indicate that the current thread is eligible to run JIT code and that the tenant may run JIT code that assumes, without checking, that classes on the optimization list are initialized.