Other |
---|
tbdUnresolved |
Blocks :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Removing _suspend_flag and has_special_runtime_exit_condition/handle_special_runtime_exit_condition and friends will greatly simplify transition and will make it possible to contain the functionality. Right now it's spread out all over the runtime and we have many special transition for not getting this wrong. Delivery conditions are duplicate and very hard to understand. The _suspend_flag is asynchronous and target executed: Set bit X and thread execute method Y when doing a transition where the delivery terms are met. Since we already have a safepoint(/handshake) poll at every possible delivery location, these can be implementerad as handshake (if we had the correct functionality). The handshake operation could contain both the delivery terms and the delivery, thus having everything at one place and only once. There are now 4 (soon 5) users: - Suspend/resume - Delivering Asynchronous exception (ThreadDeath) - Lazy JNI critical unlocking - JFR Native trace blocking - Local variable reconstitution