mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8288139: JavaThread touches oop after GC barrier is detached
Reviewed-by: pchilanomate, dholmes, rehn, eosterlund
This commit is contained in:
parent
e26d3b3c01
commit
a144988600
4 changed files with 16 additions and 13 deletions
|
@ -108,7 +108,7 @@ void ThreadIdTable::lazy_initialize(const ThreadsList *threads) {
|
|||
MutexLocker ml(Threads_lock);
|
||||
if (!thread->is_exiting()) {
|
||||
// Must be inside the lock to ensure that we don't add a thread to the table
|
||||
// that has just passed the removal point in ThreadsSMRSupport::remove_thread()
|
||||
// that has just passed the removal point in Threads::remove().
|
||||
add_thread(java_tid, thread);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue