Integrated: 8278262: JFR: TestPrintXML can't handle missing timestamps

Erik Gahlin egahlin at openjdk.java.net
Thu May 12 18:26:54 UTC 2022


On Thu, 12 May 2022 13:59:09 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have review of a test fix. The timestamp, i.e. field "until" in the Thread Park event, is converted to an Instant value before comparing it to the XML value. This doesn't work when the value is missing (Long.MIN_VALUE). 
> 
> Testing: running jdk/jdk/jfr/tool/TestPrintXML.java 300 times without failure. 
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: 71183437
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/711834373790fe6e8df69a3309514500eb230959
Stats:     7 lines in 1 file changed: 4 ins; 0 del; 3 mod

8278262: JFR: TestPrintXML can't handle missing timestamps

Reviewed-by: mgronlun

-------------

PR: https://git.openjdk.java.net/jdk/pull/8681


More information about the hotspot-jfr-dev mailing list