| 581 | } |
| 582 | |
| 583 | void VMStructs::initTLS(void* vm_thread) { |
| 584 | for (int i = 0; i < 1024; i++) { |
| 585 | if (pthread_getspecific((pthread_key_t)i) == vm_thread) { |
| 586 | _tls_index = i; |
| 587 | break; |
| 588 | } |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | void VMStructs::initThreadBridge() { |
| 593 | jthread thread; |
nothing calls this directly
no outgoing calls
no test coverage detected