Method and system for performing static initialization

  • US 6,061,520 A
  • Filed: 04/07/1998
  • Issued: 05/09/2000
  • Est. Priority Date: 04/07/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a data processing system for statically initializing an array, comprising the steps of:

  • compiling source code containing the array with static values to generate a class file with a clinit method containing byte codes to statically initialize the array to the static values;

    receiving the class file into a preloader;

    simulating execution of the byte codes of the clinit method against a memory without executing the byte codes to identify the static initialization of the array by the preloader;

    storing into an output file an instruction requesting the static initialization of the array; and

    interpreting the instruction by a virtual machine to perform the static initialization of the array.

View all claims

    Thank you for your feedback