hotspot/src/os_cpu/bsd_x86/vm/threadLS_bsd_x86.cpp
changeset 14583 d70ee55535f4
parent 10565 dc90c239f4ec
equal deleted inserted replaced
14582:490bb6c0df7c 14583:d70ee55535f4
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
       
    26 #include "runtime/thread.inline.hpp"
    26 #include "runtime/threadLocalStorage.hpp"
    27 #include "runtime/threadLocalStorage.hpp"
    27 #include "thread_bsd.inline.hpp"
       
    28 
    28 
    29 // Map stack pointer (%esp) to thread pointer for faster TLS access
    29 // Map stack pointer (%esp) to thread pointer for faster TLS access
    30 //
    30 //
    31 // Here we use a flat table for better performance. Getting current thread
    31 // Here we use a flat table for better performance. Getting current thread
    32 // is down to one memory access (read _sp_map[%esp>>12]) in generated code
    32 // is down to one memory access (read _sp_map[%esp>>12]) in generated code