equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2012, 2013 SAP AG. All rights reserved. |
3 * Copyright 2012, 2013 SAP AG. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
43 |
43 |
44 _last_cpu_times.sys = _last_cpu_times.user = 0L; |
44 _last_cpu_times.sys = _last_cpu_times.user = 0L; |
45 |
45 |
46 sigemptyset(&_caller_sigmask); |
46 sigemptyset(&_caller_sigmask); |
47 |
47 |
48 _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true); |
48 _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true, |
|
49 Monitor::_safepoint_check_never); |
49 assert(_startThread_lock !=NULL, "check"); |
50 assert(_startThread_lock !=NULL, "check"); |
50 } |
51 } |
51 |
52 |
52 void OSThread::pd_destroy() { |
53 void OSThread::pd_destroy() { |
53 delete _startThread_lock; |
54 delete _startThread_lock; |