mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 03:43:21 +00:00
8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Reviewed-by: egahlin
This commit is contained in:
parent
1d34b74a64
commit
6f8b0a33fa
@ -343,6 +343,9 @@ public final class ValueFormatter {
|
||||
}
|
||||
|
||||
public static String formatTimestamp(Instant instant) {
|
||||
if (Instant.MIN.equals(instant)) {
|
||||
return "N/A";
|
||||
}
|
||||
return LocalTime.ofInstant(instant, ZoneId.systemDefault()).format(DATE_FORMAT);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user