摘要 |
A method for scheduling/executing a JVM(Java Virtual Machine) and an OS(Operating System) is provided to modify a schedule of the JVM according to information of the OS providing a process to the JVM and the properties of a Java application, and modify the schedule of the OS according to the schedule of the JVM. A JVM selects a scheduling policy for the Java application and receives the information of the OS(S20). A scheduling algorithm of the JVM is modified according to the information of the OS(S40). The scheduling algorithm of the OS is modified according to the scheduling algorithm of the JVM(S50). The scheduling policy for the Java application is at least one of preemptive scheduling or non-preemptive scheduling. The JVM receives the information of the OS by using a Java library linked with an OS module capacity accessing a kernel of the OS. The information of the OS is at least one of the scheduling policy, the scheduling algorithm, and scheduling process information of the OS.
|