Skip to content

Commit 3a0fd26

Browse files
committed
Use nano time instead of miliseconds
1 parent e05d314 commit 3a0fd26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/utils/src/main/java/org/graalvm/buildtools/agent/AgentConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private void addDefaultAccessFilter() {
167167
}
168168

169169
long pid = ProcessHandle.current().pid();
170-
long time = System.currentTimeMillis();
170+
long time = System.nanoTime();
171171
Path tmpAccessFilter = agentDir.resolve(ACCESS_FILTER_PREFIX + '_' + pid + '_' + time + '_' + ACCESS_FILTER_SUFFIX);
172172
Files.copy(accessFilterData, tmpAccessFilter);
173173

0 commit comments

Comments
 (0)