Using containers to clean runtime resources when unloading a shared library
AssigneeInternational Business Machines Corporation
InventorsHeng Wang, Wan Yue Chen, Zhen Chen, Wen Ji Huang, Xiao Ling Chen, Dong Chen
Life of this patent
Estimating the term…
Abstract
Embodiments of the invention include a computer-implemented method that includes accessing, using a processor, a loader library; using the processor to generate a mock library comprising a mock version of the loader library; using the processor to containerize the loader library; and using the processor to unload the loader library.
Claims9
A computer-implemented method comprising:
- accessing, using a processor, a loader library;
- using the processor to generate a mock library comprising a mock version of the loader library;
- using the processor to containerize the loader library and store the mock library on a dynamic link (dl) interceptor module;
- and
- using the processor to unload the loader library;
- wherein the processor comprises:
- a stack processing module communicatively coupled to the dl interceptor module;
- and
- a mapping stub module communicatively coupled to the stack processing module;
- and
- wherein the mapping stub module is part of a containerization platform.
A computer system comprising a processor and a memory communicatively coupled to the processor, wherein the processor is configured to perform processor operations comprising:
- accessing a loader library;
- generating a mock library comprising a mock version of the loader library;
- storing the mock library on a dynamic link (dl) interceptor module;
- containerizing the loader library;
- and
- unloading the loader library;
- wherein the processor comprises:
- a stack processing module communicatively coupled to the dl interceptor module;
- and
- a mapping stub module communicatively coupled to the stack processing module;
- and
- wherein the mapping stub module is part of a containerization platform.
A computer program product for unloading libraries, the computer program product comprising a computer readable storage medium storing a computer readable program, wherein the computer readable program, when executed on a processor, causes the processor to perform a processor method comprising:
- accessing a loader library;
- generating a mock library comprising a mock version of the loader library;
- storing the mock library on a dynamic link (dl) interceptor module;
- containerizing the loader library;
- and
- unloading the loader library;
- wherein the processor comprises:
- a stack processing module communicatively coupled to the dl interceptor module;
- and
- a mapping stub module communicatively coupled to the stack processing module;
- and
- wherein the mapping stub module is part of a containerization platform.
Dependencies are inferred from the claim text.