Methods, systems, and computer program products for class verification
First Claim
1. A method for class verification, comprising:
- initiating, with a host computing system, loading of a class;
searching, with the host computing system, for the class in verification caches, wherein a record from the verification caches, including a checksum, is returned upon locating the class;
comparing, with the host computing system, the checksum in the record to a checksum of the class being loaded;
completing, with the host computing system, the loading of the class when the checksums match;
performing, with the host computing system, bytecode verification of the class upon one of;
a checksum comparison mismatch, and a failure to locate the class in the verification caches;
calculating, with the host computing system, a new checksum of the class upon a successful bytecode verification; and
storing, with the host computing system, the new checksum in the verification caches.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for class verification includes a data storage device holding verification caches; and a host system in communication with the data storage device, the host system executing a virtual machine (VM), including a class verifier. The VM is configured to perform: initiating loading of a class; searching for the class in the verification caches, wherein a record from the verification caches, including a checksum, is returned upon locating the class; comparing the checksum in the record to a checksum of the class being loaded; completing the loading of the class when the checksums match; performing bytecode verification of the class upon one of: a checksum comparison mismatch, and a failure to locate the class in the verification caches; calculating new checksum of the class upon a successful bytecode verification; and storing the new checksum in the verification caches.
18 Citations
20 Claims
-
1. A method for class verification, comprising:
-
initiating, with a host computing system, loading of a class; searching, with the host computing system, for the class in verification caches, wherein a record from the verification caches, including a checksum, is returned upon locating the class; comparing, with the host computing system, the checksum in the record to a checksum of the class being loaded; completing, with the host computing system, the loading of the class when the checksums match; performing, with the host computing system, bytecode verification of the class upon one of;
a checksum comparison mismatch, and a failure to locate the class in the verification caches;calculating, with the host computing system, a new checksum of the class upon a successful bytecode verification; and storing, with the host computing system, the new checksum in the verification caches. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for class verification, comprising:
-
a data storage device holding verification caches; and a host system in communication with the data storage device, the host system executing a virtual machine (VM), including a class verifier, the VM performing; initiating loading of a class; searching for the class in the verification caches, wherein a record from the verification caches, including a checksum, is returned upon locating the class; comparing the checksum in the record to a checksum of the class being loaded; completing the loading of the class when the checksums match; performing bytecode verification of the class upon one of;
a checksum comparison mismatch, and a failure to locate the class in the verification caches;calculating a new checksum of the class upon a successful bytecode verification; and storing the new checksum in the verification caches. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for class verification, the computer program product comprising:
-
a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for implementing a method, the method comprising; initiating loading of a class; searching for the class in verification caches, wherein a record from the verification caches, including a checksum, is returned upon locating the class; comparing the checksum in the record to a checksum of the class being loaded; completing the loading of the class when the checksums match; performing bytecode verification of the class upon one of;
a checksum comparison mismatch, and a failure to locate the class in the verification caches;calculating a new checksum of the class upon a successful bytecode verification; and storing the new checksum in the verification caches. - View Dependent Claims (18, 19, 20)
-
Specification