IP Library Granted Patent US 9,195,503
Granted Patent B2
US 9,195,503 · App. 13/901,740 · Granted Nov 24, 2015

Auto detecting shared libraries and creating a virtual scope repository

Inventors: Albert A. Chung (Cary, NC); Christopher F. Markes (Winchester, GB); Dana L. Price (Cary, NC)
Assignee: International Business Machines Corporation
G06F9/5005G06F8/61G06F9/44521
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,195,503
App. No.
13/901,740
Granted
Nov 24, 2015
Kind
B2
Abstract

Provided are techniques for receiving a request to load a first resource corresponding to an application into a computing system for execution; determining whether or not the first resource is identical to a resource loaded in a virtual scope library (VSR); and, if the first resource is determined not to be identical to any particular resource loaded in the VSR, load the first resource into the VSR; and direct references to the first resource in the application to the first resource loaded in the VSR; and otherwise, if the first resource is determined to be identical to the second resource, direct references to the first resource in the application to the particular resource stored in the VSR.

Claims (22)

1. A method, comprising;

receiving a request to load a first resource corresponding to an application onto a computing system for execution, wherein the first resource is a library included in the application;

determining, by scanning a virtual resource library (VSR), whether or not the first resource is identical to any resource of a plurality of resources currently loaded in the VSR; and,

in response to determining the first resource is not to be identical to any resource of the plurality of resources loaded in the VSR;

load the first resource into the VSR; and

direct references in the application to the first resource to the first resource loaded in the VSR;

in response to determining the first resource is identical to a second resource of the plurality of resources, direct references to the first resource in the application to the second resource loaded in the VSR;

keep a count associated with each resource loaded in the VSR;

receive a request to halt the application;

scan the VSR for indications whether any resources loaded are associated with the application being halted; and

decrement the count associated with the resource associated with the application halted.

2. The method of claim 1 , wherein the first resource is a computing artifact associated with the application.

3. The method of claim 1 , the determining whether or not the first resource is identical to any particular resource in the VSR, comprising:

generating a hash code corresponding to the first resource; and

comparing the bash code to a plurality of hash codes, each hash code of the plurality of bash codes corresponding to a resource in the VSR.

4. The method of claim 1 , wherein the method is implemented in an application server environment.

5. The method of claim 1 , further comprising:

detecting that the application is excluded from loading the first resource into the VSR; and

loading the first resource into the scope of the application rather than the VSR regardless of whether or not the first resource is determined not to be identical to the second resource.

6. The method of claim 1 , further comprising:

detecting that a particular resource stored in the VSR is not pointed to by any currently loaded application; and,

in response to the detecting, deleting the particular resource from the VSR.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 24, 2013
From: CHUNG, ALBERT A.; MARKES, CHRISTOPHER F.; PRICE, DANA L.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 030480/0852 →
Continuity (2)
Continuation 13538707 · Jun 29, 2012
Related Publication 20140007125A1 · Jan 2, 2014