Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
To decrease the ZIS LPA footprint, ZIS will use the module registry for its plug-in modules. When not in dev mode, ZIS will use the module registry API for adding plug-in modules to the LPA, and if a module is already registered, ZIS will reuse the existing LPA info. In dev mode, ZIS will load its own copy of plug-in modules to the LPA, just as it does now.
This PR depends upon the following PRs: zowe/zowe-common-c#492
Type of change
Please delete options that are not relevant.
PR Checklist
Please delete options that are not relevant.
Testing
Adding a module to the registry
ZWES0258I Module status: new instance added to registry (10D80000)
(the address in the brackets will likely be different, and the same true for the other messages in this testing strategy text);ZWES0022I Module KAYSISDL status: new instance added to registry (110B1000)
;ZWES0258I Module status: previously added/loaded instance reused (10D80000)
;ZWES0022I Module KAYSISDL status: previously added/loaded instance reused (110B1000)
.Module sharing
For the next test, you'll need another ZIS instance upgraded to the same level as the original instance.
ZWES0258I Module status: instance reused from registry (10D80000)
;ZWES0022I Module KAYSISDL status: instance reused from registry (110B1000)
;ZWES0258I Module status: previously added/loaded instance reused (10D80000)
;ZWES0022I Module KAYSISDL status: previously added/loaded instance reused (110B1000)
.Non-eligible module
For this test, you will need a plug-in module which does not use the new feature; i.e., the plug-in does not use the
MODREG_MARK_MODULE
macro.S zisstc,,,COLD,REUSASID=YES
);ZWES0023I Module <name of your plug-in module> not eligible for registry, proceeding with LPA ADD
;ZWES0022I Module <name of your plug-in module> status: own instance loaded to LPA (10BD1000)
.Non-LPA module
For this test, you will need a plug-in module which does not use the LPA.
ZWES0022I Module <name of your plug-in module> status: private storage instance used
.Registry disablement via the new parameter
ZWES.MODULE_REGISTRY=NO
to the PARMLIB member of your ZIS;S zisstc,,,COLD,REUSASID=YES
);ZWES0258I Module status: own instance loaded to LPA (10BD1000)
;ZWES0022I Module KAYSISDL status: own instance loaded to LPA (10B49000)
.Registry disablement via the dev option
ZWES.MODULE_REGISTRY=NO
and addZWES.DEV_MODE.LPA=YES
to the PARMLIB member of your ZIS;S zisstc,,,COLD,REUSASID=YES
);ZWES0258I Module status: own instance loaded to LPA (10BD1000)
;ZWES0022I Module KAYSISDL status: own instance loaded to LPA (10B49000)
.