RFR: 8269418: jdk/jfr/event/oldobject/TestObjectSize.java failed with "RuntimeException: No events: expected false, was true" [v2]

Markus Grönlund mgronlun at openjdk.java.net
Fri Sep 3 10:03:59 UTC 2021


On Thu, 2 Sep 2021 18:09:54 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   increase probability in test
>
> test/jdk/jdk/jfr/event/oldobject/TestObjectSize.java line 106:
> 
>> 104:                         sizeLeak2 = objectSize;
>> 105:                     }
>> 106:                     if (type.getName().equals(Leak3.class.getName()) && sizeLeak3 == -1) {
> 
> So, this fix about not rewriting `sizeLeakN` variables in subsequent retries as each retry might have only a subset of those variables properly set, correct?

Correct - this has lead to occasional timeouts.

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

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


More information about the hotspot-jfr-dev mailing list