diff --git a/common/utils/src/main/java/org/graalvm/buildtools/agent/AgentConfiguration.java b/common/utils/src/main/java/org/graalvm/buildtools/agent/AgentConfiguration.java index 1299d358..07e070ce 100644 --- a/common/utils/src/main/java/org/graalvm/buildtools/agent/AgentConfiguration.java +++ b/common/utils/src/main/java/org/graalvm/buildtools/agent/AgentConfiguration.java @@ -167,7 +167,7 @@ private void addDefaultAccessFilter() { } long pid = ProcessHandle.current().pid(); - long time = System.currentTimeMillis(); + long time = System.nanoTime(); Path tmpAccessFilter = agentDir.resolve(ACCESS_FILTER_PREFIX + '_' + pid + '_' + time + '_' + ACCESS_FILTER_SUFFIX); Files.copy(accessFilterData, tmpAccessFilter);