git: openjdk/loom: fibers: Remove use of minimumSuspendAllCount. It wasn't working like I wished it would. Instead consider an unmounted virutal thread to be suspended, and invalidate any FieldIds for the virtual thread when it is resumed (its continuation is run). Use the carrier thread status for mounted virtual threads. This will probably be simplified once JVMTI ThreadState() supports virtual threads.

duke duke at openjdk.java.net
Fri Jan 24 21:18:05 UTC 2020


Changeset: 54dba7dd
Author:    chris.plummer <chris.plummer at oracle.com>
Date:      2020-01-24 21:16:54 +0000
URL:       https://git.openjdk.java.net/loom/commit/54dba7dd

Remove use of minimumSuspendAllCount. It wasn't working like I wished it would. Instead consider an unmounted virutal thread to be suspended, and invalidate any FieldIds for the virtual thread when it is resumed (its continuation is run). Use the carrier thread status for mounted virtual threads. This will probably be simplified once JVMTI ThreadState() supports virtual threads.

! src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c



More information about the loom-dev mailing list