RFR: 8271931: Make AbortVMOnVMOperationTimeout more resilient to OS scheduling

Albert Mingkun Yang ayang at openjdk.java.net
Fri Aug 6 12:01:50 UTC 2021


On Thu, 5 Aug 2021 09:47:18 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Perform VM-op timeout also on the VM thread. If a VM-op is stuck, the existing watcher-thread based machinery will kick in and detect it.
> 
> Test: tier1

> we would also not need any other changes here: it would allow to check that task is NULL all the same.

Hi Aleksey, I have revised the patch to better encapsulate the timeout-check logic; still duplicated, but at least they are very close now (in the same class). Are you OK with the latest version?

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

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


More information about the hotspot-runtime-dev mailing list