The linux Java thread is version dependent, but most modern implementations use pthread, the thread for linux, not the process. The linux thread is also known as lightweight processes that are not generated by a fork call, but rather by a pthread call. Themes work under the same process and can share certain resources.
Yes, they are related from 1 to 1 (ps -Lf), but itβs very difficult to figure out what exactly, since the id of the os stream is a magic number that only jvm knows.
Below is the article below.
http://linuxprograms.wordpress.com/2007/12/19/linux-kernel-support-for-threads-light-weight-processe/
source share