Skip to content

Use -Xsharedclasses option to improve startup time (especially on zPDT / zD&T emulated environments) #3953

Open
@Joe-Winchester

Description

Is your feature request related to a problem? Please describe.
Zowe APIML startup can be improved on zPDT / zD&T emulator environments to be 1/2 using shared classes.

Describe the solution you'd like
More on shared classes can be found at the great blog by Colin at https://colinpaice.blog/2023/08/26/turbo-start-your-java-program-on-z-os-and-save-a-bucket-of-cpu/.
It's a -Xshareclasses:cacheDir=/tmp,name=rseapi’,restoreFromSnapshot’, cacheDirPerm=0777,groupAccess option and could be added to the start.sh scripts in each of the components.

Willingness to help
Very happy to help create a PR for this as well as do any testing, and I expect Colin (who has a zPDT and did the analysis on the improvements) would help test also.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions