RFR: 8349002: GenShen: Deadlock during shutdown

William Kemper wkemper at openjdk.org
Thu Jan 30 16:55:46 UTC 2025


On Wed, 29 Jan 2025 21:53:05 GMT, William Kemper <wkemper at openjdk.org> wrote:

> [JDK-8345970](https://bugs.openjdk.org/browse/JDK-8345970) changed the order in which the control thread and regulator thread are shutdown. The new order (in which the control thread is shutdown first), may leave the regulator thread waiting indefinitely for a gc cycle that will never start.

Yes, the regulator thread is in a wait loop until the gc mode is not `none`.

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

PR Comment: https://git.openjdk.org/jdk/pull/23358#issuecomment-2625045467


More information about the hotspot-gc-dev mailing list