RFR: 8320691: Timeout handler on Windows takes 2 hours to complete

Alan Bateman alanb at openjdk.org
Fri Nov 24 09:12:07 UTC 2023


On Fri, 24 Nov 2023 07:58:18 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> The recent cdb versions do not support `.dump /f`:
> 
> *****************************************************************************
> * .dump /f is not supported on a user mode process.                         *
> *                                                                           *
> * .dump /ma creates a complete memory dump of a user mode process.          *
> *****************************************************************************
> 
> and after printing that message, cdb ignores the rest of the command line and never quits.
> 
> This PR updates the dump command to use the recommended `/ma` parameter. This allows the command to produce a dump and complete in a timely manner.

test/failure_handler/src/share/conf/windows.properties line 60:

> 58: 
> 59: native.core.app=cdb
> 60: native.core.args=-c ".dump /ma core.%p;qd" -p %p

Just to double check that this is the right option. `/ma` terminates if there is "inaccessable memory" where `/mA` seems to be continue.  The `/f` option says all "accessible" memory which I assume it means skips/ignored inaccessible, is that right?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16806#discussion_r1404110118


More information about the build-dev mailing list