-
Sub-task
-
Resolution: Fixed
-
P2
-
17, 19
-
b28
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8288917 | 20 | Daniel Daugherty | P2 | Resolved | Fixed | b03 |
JDK-8291276 | 19.0.2 | Daniel Daugherty | P2 | Resolved | Fixed | b01 |
JDK-8291124 | 19.0.1 | Daniel Daugherty | P2 | Resolved | Fixed | b04 |
The JavaThread::_terminated field exists for tracking a JavaThread's
journey thru the thread exit process. The detaching of the GC barrier
from a JavaThread during the exit process is turning out to be an
important state change that needs visibility in order to have correctly
functioning code. Adding JavaThread::is_oop_safe() and
the necessary associated infrastructure provides this visibility.
This comment change from class JavaThread:
@@ -914,7 +915,7 @@ class JavaThread: public Thread {
private:
// In general a JavaThread's _terminated field transitions as follows:
//
- // _not_terminated => _thread_exiting => _thread_terminated
+ // _not_terminated => _thread_exiting => _thread_gc_barrier_detached => _thread_terminated
shows where the new _thread_gc_barrier_detached value
fits into the _terminated field transitions.
journey thru the thread exit process. The detaching of the GC barrier
from a JavaThread during the exit process is turning out to be an
important state change that needs visibility in order to have correctly
functioning code. Adding JavaThread::is_oop_safe() and
the necessary associated infrastructure provides this visibility.
This comment change from class JavaThread:
@@ -914,7 +915,7 @@ class JavaThread: public Thread {
private:
// In general a JavaThread's _terminated field transitions as follows:
//
- // _not_terminated => _thread_exiting => _thread_terminated
+ // _not_terminated => _thread_exiting => _thread_gc_barrier_detached => _thread_terminated
shows where the new _thread_gc_barrier_detached value
fits into the _terminated field transitions.
- backported by
-
JDK-8288917 add support for JavaThread::is_oop_safe()
- Resolved
-
JDK-8291124 add support for JavaThread::is_oop_safe()
- Resolved
-
JDK-8291276 add support for JavaThread::is_oop_safe()
- Resolved
- relates to
-
JDK-8286830 ~HandshakeState should not touch oops
- Closed
-
JDK-8289003 JavaThread::check_is_terminated() implementation should rely on Thread-SMR
- Resolved
-
JDK-8288532 additional review changes for JDK-8286830
- Resolved
(1 relates to, 3 links to)