Class file archives with reduced data volume
First Claim
1. A method for packaging program resources, comprising:
- collecting a set of the program resources that comprises a plurality of object files, which contain data structures having entries that are constants and methods that reference the entries;
combining the data structures in at least some of the object files into a common data pool, in which semantically-identical entries in different ones of the files are represented by a single consolidated entry, irrespective of whether the entries in the different files are syntactically identical; and
packaging the set of the program resources together with the common data pool in a combined output file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for packaging program resources includes collecting a set of the program resources that comprises a plurality of object files, which contain data structures having entries that are constants and methods that reference the entries. The data structures in at least some of the object files are combined into a common data pool, in which semantically-identical entries in different ones of the files are represented by a single consolidated entry, irrespective of whether the entries in the different files are syntactically identical. The set of the program resources is packaged together with the common data pool in a combined output file.
30 Citations
93 Claims
-
1. A method for packaging program resources, comprising:
-
collecting a set of the program resources that comprises a plurality of object files, which contain data structures having entries that are constants and methods that reference the entries;
combining the data structures in at least some of the object files into a common data pool, in which semantically-identical entries in different ones of the files are represented by a single consolidated entry, irrespective of whether the entries in the different files are syntactically identical; and
packaging the set of the program resources together with the common data pool in a combined output file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for generating an archive file, comprising:
-
assembling a set of program resources that comprise a plurality of class files containing methods and respective constant pools;
combining the constant pools of the class files into a global constant pool, in which semantically-identical entries in the constant pools of different ones of the class files are represented by a single consolidated entry, irrespective of whether the entries in the different class files are syntactically identical; and
packaging the set of the program resources together with the common data pool in the archive file. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for packaging program resources, comprising:
-
collecting a set of class files containing methods and constant pools, which comprise data structures having entries that are constants;
consolidating the constant pools of the class files into a single, common pool, comprising substantially all of the data structures in all of the class files in the set; and
packaging the set of the class files, together with the common pool in a combined output file. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. A method for packaging program resources, comprising:
-
assembling a set of the program resources that comprises a plurality of class files containing methods and constant pools, which comprise data structures having entries that are constants;
consolidating at least a portion of the constant pools of the class files into a single, common pool;
adding to the set of resources a program mechanism which, when read by a computer receiving the class files with the single, common pool, causes the computer to reconstruct the constant pools in the class files from the common pool; and
packaging the set of the program resources, including the common pool and the program mechanism, in a combined output file. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31)
-
- 32. Apparatus for packaging program resources, comprising an archive processor, which is arranged to collect a set of the program resources that comprises a plurality of object files, which contain data structures having entries that are constants and methods that reference the entries, to combine the data structures in at least some of the object files into a common data pool, in which semantically-identical entries in different ones of the files are represented by a single consolidated entry, irrespective of whether the entries in the different files are syntactically identical, and to package the set of the program resources together with the common data pool in a combined output file.
- 40. Apparatus for generating an archive file, comprising an archive processor, which is arranged to assemble a set of program resources that comprise a plurality of class files containing methods and respective constant pools, to combine the constant pools of the class files into a global constant pool, in which semantically-identical entries in the constant pools of different ones of the class files are represented by a single consolidated entry, irrespective of whether the entries in the different class files are syntactically identical, and to package the set of the program resources together with the common data pool in the archive file.
- 49. Apparatus for packaging program resources, comprising an archive processor, which is arranged to assemble a set of class files containing methods and constant pools, which comprise data structures having entries that are constants, to consolidate the constant pools of the class files into a single, common pool, comprising substantially all of the data structures in all of the class files in the set, and to package the set of the class files, together with the common pool in a combined output file.
- 55. Apparatus for packaging program resources, comprising an archive processor, which is arranged to assemble a set of the program resources that comprises a plurality of class files containing methods and constant pools, which comprise data structures having entries that are constants, to consolidate at least a portion of the constant pools of the class files into a single, common pool, to add to the set of resources a program mechanism which, when read by a computer receiving the class files with the single, common pool, causes the computer to reconstruct the constant pools in the class files from the common pool, and to package the set of the program resources, including the common pool and the program mechanism, in a combined output file.
- 63. A computer program product for packaging program resources, the product comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to collect a set of the program resources that comprises a plurality of object files, which contain data structures having entries that are constants and methods that reference the entries, to combine the data structures in at least some of the object files into a common data pool, in which semantically-identical entries in different ones of the files are represented by a single consolidated entry, irrespective of whether the entries in the different files are syntactically identical, and to package the set of the program resources together with the common data pool in a combined output file.
- 71. A computer program product for generating an archive file, the product comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to assemble a set of program resources that comprise a plurality of class files containing methods and respective constant pools, to combine the constant pools of the class files into a global constant pool, in which semantically-identical entries in the constant pools of different ones of the class files are represented by a single consolidated entry, irrespective of whether the entries in the different class files are syntactically identical, and to package the set of the program resources together with the common data pool in the archive file.
- 80. A computer program product for packaging program resources, the product comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to assemble a set of class files containing methods and constant pools, which comprise data structures having entries that are constants, to consolidate the constant pools of the class files into a single, common pool, comprising substantially all of the data structures in all of the class files in the set, and to package the set of the class files, together with the common pool in a combined output file.
- 86. A computer program product for packaging program resources, the product comprising a computer-readable medium in which program instructions are stored, which instructions, when read by a computer, cause the computer to assemble a set of the program resources that comprises a plurality of class files containing methods and constant pools, which comprise data structures having entries that are constants, to consolidate at least a portion of the constant pools of the class files into a single, common pool, to add to the set of resources a program mechanism which, when read by a client computer receiving the class files with the single, common pool, causes the client computer to reconstruct the constant pools in the class files from the common pool, and to package the set of the program resources, including the common pool and the program mechanism, in a combined output file.
Specification