US2011276981A1PendingUtilityA1

Runtime-resource management

52
Assignee: IBMPriority: Jul 27, 2001Filed: Jul 21, 2011Published: Nov 10, 2011
Est. expiryJul 27, 2021(expired)· nominal 20-yr term from priority
Y02D10/00G06F 2209/508G06F 9/5016G06F 2209/5014G06F 9/5022G06F 2209/504
52
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A runtime-resource management method, system, and product for managing resources available to application components in a portable device. The method, system, and product provide for loading one or more new application components into a portable device only if maximum runtime resources required by the one or more new application components are available in the portable device assuming loaded application components within the device are using the maximum runtime resources reserved by the loaded application components, reserving maximum runtime resources required by application components when application components are loaded into the portable device, and running loaded application components using only the runtime resources reserved for the loaded application components.

Claims

exact text as granted — not AI-modified
1 .- 25 . (canceled) 
     
     
         26 . A method, executed by a portable computing device, comprising:
 identifying, for a new application component scheduled to be stored within the portable computing device, maximum required runtime resources for the new application component;   calculating, for all of a plurality of application components currently stored within the portable computing device, a combined maximum required runtime resources for the plurality of application components; and   prohibiting the new application component from being stored within the portable computing device upon a total of the maximum required runtime resources for the new application component and the combined maximum required runtime resources for the plurality of application components being greater than a predetermined amount.   
     
     
         27 . The method of  claim 26 , wherein
 the predetermined amount is based upon a total runtime system resources of the portable computing device.   
     
     
         28 . The method of  claim 26 , further comprising:
 removing one of the plurality of application components current stored within the portable computing device;   recalculating the combined maximum required runtime resources; and   storing the new application component within the portable computing device upon the total of the maximum required runtime resources for the new application component and the combined maximum required runtime resources for a plurality of application components currently stored within the portable computing device not being greater than a predetermined amount   
     
     
         29 . The method of  claim 26 , wherein
 the runtime resources include at least one of RAM, threads, and sockets.   
     
     
         30 . The method of  claim 26 , wherein
 the identifying includes receiving a resource description list for the new application component.   
     
     
         31 . A method, executed by a portable computing device, comprising:
 reserving within the portable computing device, for each of a plurality of application components stored within the portable computing device, respective maximum required runtime resources.   
     
     
         32 . The method of  claim 31 , further comprising:
 executing each of the plurality of application components stored within the portable computing device using no more than the maximum required runtime resources respectively reserved for each of the plurality of application components.   
     
     
         33 . The method of  claim 31 , further comprising:
 allocating a respective segment of RAM within the portable computing device to each of the plurality of application components based on RAM requirements stored within a resource description list associated with each of the plurality of application components, wherein   the allocated segments of RAM being reserved for exclusive use, respectively, by each of the plurality of application components.   
     
     
         34 . The method of  claim 33 , further comprising:
 running one of the plurality of application components stored using the respective segment of RAM allocated to the one of the plurality of applications components;   monitoring RAM use by the one of the plurality of application components; and   preventing the one of the plurality of application components from using more than the respective segment of RAM allocated to the one of the plurality of application components.   
     
     
         35 . The method of  claim 31 , further comprising
 receiving a resource description list for each of the plurality of application components stored within the portable computing device; and   writing thread requirements to a thread table for each of the plurality of application components stored within the portable computing device based on thread requirements in a respective resource description list associated with each of the plurality of application components stored within the portable computing device.   
     
     
         36 . The method of  claim 35 , further comprising:
 running one of the plurality of application components stored within the portable computing device;   monitoring thread use by the one of the plurality of application components; and   preventing the one of the plurality of application components from using more threads than a respective thread requirement listed within the thread table for the one of the plurality of applications components.   
     
     
         37 . The method of  claim 31 , further comprising:
 receiving a resource description list for each of the plurality of application components stored within the portable computing device; and   writing socket requirements to a socket table for each of the plurality of application components stored within the portable computing device based on socket requirements in a respective resource description list associated with each of the plurality of application components stored within the portable computing device.   
     
     
         38 . The method of  claim 37 , further comprising:
 running one of the plurality of application components stored within the portable computing device;   monitoring socket use by the one of the plurality of application components; and   preventing the one of the plurality of application components from using more sockets than a respective socket requirement listed within the socket table for the one of the plurality of applications components.   
     
     
         39 . A computer program product comprising a computer usable storage medium having stored therein computer usable program code, the computer usable program code, which when executed by a portable computing device, causes the portable computing device to perform:
 identifying, for a new application component scheduled to be stored within the portable computing device, maximum required runtime resources for the new application component;   calculating, for all of a plurality of application components currently stored within the portable computing device, a combined maximum required runtime resources for the plurality of application components; and   prohibiting the new application component from being stored within the portable computing device upon a total of the maximum required runtime resources for the new application component and the combined maximum required runtime resources for the plurality of application components being greater than a predetermined amount.   
     
     
         40 . The computer program product of  claim 39 , wherein
 the predetermined amount is based upon a total runtime system resources of the portable computing device.   
     
     
         41 . The computer program product of  claim 39 , wherein the computer usable program code further causes the portable computing device to perform:
 removing one of the plurality of application components current stored within the portable computing device;   recalculating the combined maximum required runtime resources; and   storing the new application component within the portable computing device upon the total of the maximum required runtime resources for the new application component and the combined maximum required runtime resources for a plurality of application components currently stored within the portable computing device not being greater than a predetermined amount   
     
     
         42 . The computer program product of  claim 39 , wherein
 the runtime resources include at least one of RAM, threads, and sockets.   
     
     
         43 . The computer program product of  claim 39 , wherein
 the identifying includes receiving a resource description list for the new application component.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.