OpenLiberty / ci.docker

Eclipse Public License 1.0
42 stars 59 forks source link

Use instanton.ld.so.cache for checkpointing java #463

Closed ymanton closed 8 months ago

ymanton commented 9 months ago

Semeru images may contain a custom InstantOn ld.so.cache that improves the portability of checkpointed Java programs. Use it by overwriting ld.so.cache with instanton.ld.so.cache before starting the process being checkpointed.

Note that in order to overwrite ld.so.cache at checkpoint time we have to give the checkpoint user write permission to the file; this is done by making the file group-writable.

ymanton commented 8 months ago

Corresponding change for Semeru images is here: https://github.com/ibmruntimes/semeru-containers/pull/73

leochr commented 8 months ago

Should this be included with Liberty 23.0.0.11? Does the Semeru container image already include the corresponding change?

ymanton commented 8 months ago

Does the Semeru container image already include the corresponding change?

It was merged recently. I don't think it's in a published build yet, but this PR doesn't depend on it and can be merged any time; it just won't have any visible effect until it is built against a Semeru image with the corresponding PR.

leochr commented 8 months ago

@ymanton Thank you. The changes look fine to me. @tjwatson please review and merge.