hotspot/src/os/linux/vm/osThread_linux.cpp
changeset 28163 322d55d167be
parent 14626 0cf4eccf130f
equal deleted inserted replaced
28023:a4075664328d 28163:322d55d167be
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    37   _expanding_stack = 0;
    37   _expanding_stack = 0;
    38   _alt_sig_stack = NULL;
    38   _alt_sig_stack = NULL;
    39 
    39 
    40   sigemptyset(&_caller_sigmask);
    40   sigemptyset(&_caller_sigmask);
    41 
    41 
    42   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true);
    42   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true,
       
    43                                   Monitor::_safepoint_check_never);
    43   assert(_startThread_lock !=NULL, "check");
    44   assert(_startThread_lock !=NULL, "check");
    44 }
    45 }
    45 
    46 
    46 void OSThread::pd_destroy() {
    47 void OSThread::pd_destroy() {
    47   delete _startThread_lock;
    48   delete _startThread_lock;