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

8334886: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with RuntimeException: getStopTime() > afterStop #19932

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/hotspot/share/jfr/recorder/repository/jfrChunk.cpp
Original file line number Diff line number Diff line change
@@ -47,8 +47,6 @@ jlong JfrChunk::nanos_now() {
const jlong now = seconds * 1000000000 + nanos;
if (now > last) {
last = now;
} else {
++last;
}
return last;
}
1 change: 0 additions & 1 deletion src/jdk.jfr/share/classes/jdk/jfr/internal/JVMSupport.java
Original file line number Diff line number Diff line change
@@ -103,7 +103,6 @@ static long nanosToTicks(long nanos) {

static long getChunkStartNanos() {
long nanos = JVM.getChunkStartNanos();
// JVM::getChunkStartNanos() may return a bumped timestamp, +1 ns or +2 ns.
// Spin here to give Instant.now() a chance to catch up.
awaitUniqueTimestamp();
return nanos;