Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Lazily initialize native crypto libraries #66

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

JasonFengJ9
Copy link
Member

Delay native crypto library loading to avoid early initialization which might cause CRIU cross architectures restore error;
Skip native library loading before taking a checkpoint; Reload the providers from scratch;
Create a singleton NativeCrypto instance.

Cherry-pick ibmruntimes/openj9-openjdk-jdk#539

Signed-off-by: Jason Feng fengj@ca.ibm.com

Delay native crypto library loading to avoid early initialization which
might cause CRIU cross architectures restore error;
Skip native library loading before taking a checkpoint;
Reload the providers from scratch;
Create a singleton NativeCrypto instance.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@JasonFengJ9 JasonFengJ9 requested a review from keithc-ca February 1, 2023 21:28
@JasonFengJ9
Copy link
Member Author

Jenkins test sanity alinux64,xlinux jdk19

@keithc-ca
Copy link
Member

Jenkins test sanity amac jdk19

@keithc-ca keithc-ca merged commit 46b4853 into ibmruntimes:openj9 Feb 6, 2023
@JasonFengJ9 JasonFengJ9 deleted the delaynativeload branch February 6, 2023 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants