Abstract:
Ein computerumgesetztes Verfahren zum Verwalten von Speicherbereinigungs(GC)-Sicherheitspunkten (Garbage Collection (GC) safepoints) wird bereitgestellt. Das Verfahren enthält ein Bestimmen, ob ein GC-Sicherheitspunkt für ein natives Zielverfahren entfernt werden kann, durch Überprüfen eines Anhäufungsbelegungsverhältnisses (heap occupancy ratio) vor einem Ausführen des nativen Zielverfahrens. Das Verfahren enthält ferner ein Entfernen des GC-Sicherheitspunktes als Reaktion darauf, dass das Anhäufungsbelegungsverhältnis vor dem Ausführen des nativen Zielverfahrens kleiner als ein Schwellenwertbelegungsmengen-Prozentsatz ist. Das Verfahren enthält auch ein Bestimmen, ob der GC-Sicherheitspunkt für das native Zielverfahren entfernt werden kann, durch Überprüfen einer letzten GC-Pausenzeit. Das Verfahren enthält zusätzlich ein Entfernen des GC-Sicherheitspunktes als Reaktion darauf, dass die letzte GC-Pausenzeit um einen Schwellenwertpausenzeitmengen-Prozentsatz kürzer ist als eine Ausführungszeit des nativen Zielverfahrens.
Abstract:
PROBLEM TO BE SOLVED: To provide a mechanism of creating a program with high execution efficiency without deteriorating the productivity of the program. SOLUTION: In a computer system that executes the program including the processing of a character string, a method for optimizing the processing of the character string upon the execution of the program by using characteristic information showing the characteristic of the character string associated with the character string is provided. The method includes a step of determining from the characteristic of a first character string and arithmetic processing regarding the first character string, the character string characteristic information for at least one of the first character string and a second character string which is a result of the arithmetic processing, and a step of making the determined characteristic information associated with at least one character string. Furthermore, a computer system and a computer program for executing the program including the processing of the character string and optimizing the processing of the character string upon execution of the program using the characteristic information are provided. COPYRIGHT: (C)2011,JPO&INPIT
Abstract:
PROBLEM TO BE SOLVED: To provide a program execution method for realizing much higher level optimization. SOLUTION: A program executing device 1 realizes transition between a compile processing and interpreter processing in the middle of the execution of a method. When there is not any problem on execution even if moving a transition point to the entrance of a loop, the transition point of a code is moved to the entrance of a loop, and when the transition point is positioned inside the loop, a point for post dominating the entrance of the loop and the transition point is copied just before the loop. Thus, the transition point is allowed to have information for generating a re-calculation code so that re- execution can be executed.
Abstract:
PROBLEM TO BE SOLVED: To provide a compiler capable of executing the byte code of Java at a high speed with limited resources. SOLUTION: The byte code 14 is converted to an intermediate code 102 whose operation code is the address of processing routines corresponding to the respective byte codes and the processing routines are executed in the order of the intermediate codes. At the time, the intermediate code is turned to a fixed length and the bit position of the operation code is also fixed in it. Also, the processing routines are arranged in successive areas on a memory and an offset from the leading address of a processing routine group 104 is used for the operation code. Further, the vacancy of the pipeline of a CPU is utilized and a part (generation of operand and jump) of an instruction group for jumping to the processing routine of the next intermediate code and a part (pre-fetch of intermediate code and address calculation of processing routine) of the instruction group for jumping to the processing routine of the intermediate code after the next are executed parallelly to the original processing for the intermediate code.
Abstract:
PROBLEM TO BE SOLVED: To provide a mechanism for producing a program of high execution efficiency without lowering productivity of the program.SOLUTION: There is provided a method of optimizing processing on character strings in program execution using characteristic information representing characteristics of the character strings made to correspond to the character strings in a computer system which executes a program including processing on character strings. The method includes the steps of: determining characteristic information on at least one character string of a first character string and a second character string as a result of arithmetic processing based on characteristics as to the first character string and the arithmetic processing the relating to the first character string; and making the determined characteristic information correspond to the at least one character string. The present invention relates to the computer system that executes the program including the processing on the character strings and optimizes the processing on the character strings in the program execution using the characteristic information, and the computer program.
Abstract:
PROBLEM TO BE SOLVED: To successively quickly execute a Java byte code or the like. SOLUTION: An interpreter 326 prepares n pieces of processing routines corresponding to n bytes included in the word of a CPU, and reuses a byte code loaded for processing a certain processing routine for the following processing routines, and minimizes the number of times that the CPU loads the byte code. Moreover, the interpreter 326 speculatively decodes the candidate of the the second byte code ahead by using the dead pipe line of the CPU for masking any overhead generated at the time of decoding the byte code.
Abstract:
PROBLEM TO BE SOLVED: To efficiently execute a byte code by combining an interpreter and a compiler. SOLUTION: In the case where an instruction to execute is a backward condition branching instruction in executing a byte code by the interpreter, whether the condition branching instruction is the back edge of a loop or not is judge S2. In the case where it is judged to be the back edge of the loop, the number of the times of the loop is predicted S3 and the predicted number of the times of the loop is stored in a storing device. According to the predicted number of the times of the loop, the execution mode of the byte code is selected S4. This execution mode includes a mode to immediately compile a method including the loop and a mode to execute the byte code by the interpreter.