mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-24 13:24:27 +02:00
8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by: dholmes, stuefe
This commit is contained in:
parent
7a446900da
commit
04b79fa8f3
11 changed files with 8 additions and 54 deletions
|
@ -37,12 +37,6 @@ static pthread_t tc_owner = 0;
|
|||
static pthread_mutex_t tc_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
static int tc_count = 0;
|
||||
|
||||
void ThreadCritical::initialize() {
|
||||
}
|
||||
|
||||
void ThreadCritical::release() {
|
||||
}
|
||||
|
||||
ThreadCritical::ThreadCritical() {
|
||||
pthread_t self = pthread_self();
|
||||
if (self != tc_owner) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue