-
Notifications
You must be signed in to change notification settings - Fork 738
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
CRIU restore clears InetAddress.cache #17448
Conversation
Can we just clear the cache with the restore hook? in
|
Good catch, I thought the mapping caches are saved in |
@tajila this is ready for another look. |
jcl/src/openj9.criu/share/classes/org/eclipse/openj9/criu/CRIUSupport.java
Outdated
Show resolved
Hide resolved
A post-restore hook clearInetAddressCache() is added to clear InetAddress.cache. Signed-off-by: Jason Feng <[email protected]>
jenkins test sanity xlinux jdknext depends ibmruntimes/openj9-openjdk-jdk#604 |
jenkins test sanity xlinux jdk17 depends ibmruntimes/openj9-openjdk-jdk17/pull/216 |
JDK17 build error
It seems to expect the format ibmruntimes/openj9-openjdk-jdk17#216 |
jenkins test sanity xlinux jdk17 depends https://github.com/ibmruntimes/openj9-openjdk-jdk17#216 |
jenkins test sanity xlinux jdk11 depends https://github.com/ibmruntimes/openj9-openjdk-jdk11#661 |
jenkins test sanity xlinux jdk17 ibmruntimes/openj9-openjdk-jdk17#216 |
jenkins test sanity xlinux jdk11 depends ibmruntimes/openj9-openjdk-jdk11#661 |
on the jdk17 build |
It passed at https://openj9-jenkins.osuosl.org/job/Build_JDK17_x86-64_linux_Personal/554/ |
oh yes, thanks |
CRIU restore clears
InetAddress.cache
A post-restore hook
clearInetAddressCache()
is added to clearInetAddress.cache
.This change prevents JVM DNS cache before checkpoint which might cause DNS resolution timeout after the CRIU image is restored at a different environment.
Related
Signed-off-by: Jason Feng [email protected]