Methods, Systems, and Computer Program Products for Class Verification
First Claim
1. A method for class verification, 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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for class verification are provided. The method includes initiating loading of a class, and searching for the class in verification caches. A record from the verification caches, including a checksum, is returned upon locating the class. The method further includes comparing the checksum in the record to a checksum of the class being loaded, and completing the loading of the class when the checksums match. The method additionally includes performing bytecode verification of the class upon one of: a checksum comparison mismatch, and a failure to locate the class in the verification caches. The method also includes calculating a new checksum of the class upon a successful bytecode verification, and storing the new checksum in the verification caches.
17 Citations
20 Claims
-
1. A method for class verification, 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 (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