A user equipment (UE) comprising: a storage ; and a controller configured to: identify a first application of a bytecode format; identify a first assembly file, corresponding to a function, among a plurality of assembly files of the first application, having a first usage frequency that is equal to or greater than a predetermined threshold, the first application having the first assembly file and a second assembly file; execute a virtual machine (VM) to process the first application of the bytecode format; ahead-of-time (AOT) compile, using the VM, the first assembly file based on the first assembly file having the first usage frequency that is equal to or greater than the predetermined threshold; obtain a first compilation result based on AOT compiling the first assembly file; store the first compilation result, corresponding to said function associated with the assembly file, in the storage ; and execute the first application by using the first compilation result stored in the storage if present, or a second compilation result obtained by just-in-time (JIT) compiling the second assembly file, in response to receiving an execute request of the first application. a storage ; and a controller configured to: identify a first application of a bytecode format; identify a first assembly file, corresponding to a function, among a plurality of assembly files of the first application, having a first usage frequency that is equal to or greater than a predetermined threshold, the first application having the first assembly file and a second assembly file; execute a virtual machine (VM) to process the first application of the bytecode format; ahead-of-time (AOT) compile, using the VM, the first assembly file based on the first assembly file having the first usage frequency that is equal to or greater than the predetermined threshold; obtain a first compilation result based on AOT compiling the first assembly file; store the first compilation result, corresponding to said function associated with the assembly file, in the storage ; and execute the first application by using the first compilation result stored in the storage if present, or a second compilation result obtained by just-in-time (JIT) compiling the second assembly file, in response to receiving an execute request of the first application. identify a first application of a bytecode format; identify a first assembly file, corresponding to a function, among a plurality of assembly files of the first application, having a first usage frequency that is equal to or greater than a predetermined threshold, the first application having the first assembly file and a second assembly file; execute a virtual machine (VM) to process the first application of the bytecode format; ahead-of-time (AOT) compile, using the VM, the first assembly file based on the first assembly file having the first usage frequency that is equal to or greater than the predetermined threshold; obtain a first compilation result based on AOT compiling the first assembly file; store the first compilation result, corresponding to said function associated with the assembly file, in the storage ; and execute the first application by using the first compilation result stored in the storage if present, or a second compilation result obtained by just-in-time (JIT) compiling the second assembly file, in response to receiving an execute request of the first application. <EOS>