mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64) Reviewed-by: stuefe, bdelsart, dcubed
This commit is contained in:
parent
8929fdddb8
commit
6e0ea9d21c
101 changed files with 449 additions and 1966 deletions
|
@ -240,7 +240,6 @@ void VMThread::destroy() {
|
|||
void VMThread::run() {
|
||||
assert(this == vm_thread(), "check");
|
||||
|
||||
this->initialize_thread_local_storage();
|
||||
this->initialize_named_thread();
|
||||
this->record_stack_base_and_size();
|
||||
// Notify_lock wait checks on active_handles() to rewait in
|
||||
|
@ -308,9 +307,6 @@ void VMThread::run() {
|
|||
_terminate_lock->notify();
|
||||
}
|
||||
|
||||
// Thread destructor usually does this.
|
||||
ThreadLocalStorage::set_thread(NULL);
|
||||
|
||||
// Deletion must be done synchronously by the JNI DestroyJavaVM thread
|
||||
// so that the VMThread deletion completes before the main thread frees
|
||||
// up the CodeHeap.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue