File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/util Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected PlatformTimeUtils() {
49
49
public record SecondsNanos (long seconds , long nanos ) {
50
50
}
51
51
52
- @ BasedOnJDKFile ("https://github.com/openjdk/jdk/blob/jdk-24+3 /src/hotspot/share/jfr/recorder/repository/jfrChunk.cpp#L38-L54 " )
52
+ @ BasedOnJDKFile ("https://github.com/openjdk/jdk/blob/jdk-24+5 /src/hotspot/share/jfr/recorder/repository/jfrChunk.cpp#L38-L52 " )
53
53
public long nanosNow () {
54
54
// Use same clock source as Instant.now() to ensure
55
55
// that Recording::getStopTime() returns an Instant that
@@ -60,8 +60,6 @@ public long nanosNow() {
60
60
long now = seconds * 1000000000 + nanos ;
61
61
if (now > last ) {
62
62
last = now ;
63
- } else {
64
- ++last ;
65
63
}
66
64
return last ;
67
65
}
You can’t perform that action at this time.
0 commit comments