RFR: 8327884: JFR view: Improve time display accuracy to milliseconds
Erik Gahlin
egahlin at openjdk.org
Thu Mar 14 16:07:42 UTC 2024
On Thu, 14 Mar 2024 13:37:29 GMT, Long Yang <lyang at openjdk.org> wrote:
> If you don't mind, I'd like to ask another question. Now the default is to print out all events, and sorting by specified fields is not supported. I wonder if we can add options to limit the number of events, such as displaying the first 10 events (`--limit 10`), or displaying the 101st to 110th events (`--limit 101,10`). I feel that the built-in query statements of `jfr view` are more flexible. If the statement capabilities can be released earlier, the sorting and quantity limit capabilities can also be achieved.
Before releasing 'jfr query', we like to get more feedback on 'jfr view'. Not that many people use JDK 21. Like you say, ORDER and LIMIT can cater to more advanced customization. Maybe FORMAT should accept a datetime pattern.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18219#issuecomment-1997804329
More information about the hotspot-jfr-dev
mailing list