RFR: 8269523: runtime/Safepoint/TestAbortOnVMOperationTimeout.java failed when expecting 'VM operation took too long' [v3]

David Holmes dholmes at openjdk.java.net
Fri Jul 30 04:05:37 UTC 2021


On Tue, 27 Jul 2021 07:12:52 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this simple test adjustment:
>>  - dropped 5ms timeout as we have seen execution as low as 2ms
>>  - enabled GC logging
>>  - report output in all cases to allow ease of analysis
>> 
>> Testing: ran 10x on macos/linux/Windows x64 and macos Aarch64 to check execution times and adjusted test accordingly
>> 
>> Thanks,
>> David
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed array initialization

There are issues with this test given the granularity of the periodic task mechanism is 10ms - see JBS issue for discussion. But the fix as it stands seems sufficient to make the test more reliable for now.

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

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


More information about the hotspot-runtime-dev mailing list