Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v0.40.0-release) CRIU skips clearInetAddressCache() if InetAddress is not initialized #17670

Merged

Conversation

JasonFengJ9
Copy link
Member

CRIU skips clearInetAddressCache() if InetAddress is not initialized

InetAddress static initializer invokes SharedSecrets.setJavaNetInetAddressAccess(), if
SharedSecrets.javaNetInetAddressAccess is null, InetAddress hasn't been initialized yet. In such case,
SharedSecrets.getJavaNetInetAddressAccess().clearInetAddressCache() is not invoked.
Updated the test.

Cherry-pick

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

InetAddress static initializer invokes
SharedSecrets.setJavaNetInetAddressAccess(), if
SharedSecrets.javaNetInetAddressAccess is null, InetAddress hasn't been
initialized yet. In such case,
SharedSecrets.getJavaNetInetAddressAccess().clearInetAddressCache() is
not invoked.
Updated the test.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@JasonFengJ9 JasonFengJ9 added comp:vm criu Used to track CRIU snapshot related work labels Jun 26, 2023
@JasonFengJ9 JasonFengJ9 requested a review from tajila June 26, 2023 19:37
@tajila tajila merged commit e116b33 into eclipse-openj9:v0.40.0-release Jun 27, 2023
2 checks passed
@JasonFengJ9 JasonFengJ9 deleted the skipclearcache-v0.40 branch June 27, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm criu Used to track CRIU snapshot related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants