×

Mechanism for class data sharing using extension and application class-loaders

  • US 9,336,018 B2
  • Filed: 02/27/2015
  • Issued: 05/10/2016
  • Est. Priority Date: 05/02/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of reducing load time of an application comprising:

  • prior to execution of an application at a computing device;

    storing, in a memory included in the computing device, metadata, in an archive, the metadata corresponding to a class loading operation used to load a class required by the application, wherein the metadata identifies a type of theclass loading operation and wherein different types of class loading operations perform different security checks as a part of loading classes; and

    during execution of the application at the computing device;

    based on a request comprising an indication for the class loading operation to load the class, determining, based on the metadata, whether the class is stored in the archive; and

    when the class is stored in the archive;

    loading, by a particular class loading operation of a particular type, the class from the archive;

    checking that the particular type of the class loading operation matches the type of the class loading operation in the metadata; and

    wherein the metadata further includes a classpath location of the class loaded by the class loading operation and wherein determining, based on themetadata, whether the class is stored in the archive comprises verifying that the classpath location is valid.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×