equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2011, 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. |
74 extern Mutex* STS_init_lock; // coordinate initialization of SuspendibleThreadSets. |
74 extern Mutex* STS_init_lock; // coordinate initialization of SuspendibleThreadSets. |
75 extern Monitor* SLT_lock; // used in CMS GC for acquiring PLL |
75 extern Monitor* SLT_lock; // used in CMS GC for acquiring PLL |
76 extern Monitor* iCMS_lock; // CMS incremental mode start/stop notification |
76 extern Monitor* iCMS_lock; // CMS incremental mode start/stop notification |
77 extern Monitor* FullGCCount_lock; // in support of "concurrent" full gc |
77 extern Monitor* FullGCCount_lock; // in support of "concurrent" full gc |
78 extern Monitor* CMark_lock; // used for concurrent mark thread coordination |
78 extern Monitor* CMark_lock; // used for concurrent mark thread coordination |
79 extern Monitor* ZF_mon; // used for G1 conc zero-fill. |
|
80 extern Monitor* Cleanup_mon; // used for G1 conc cleanup. |
|
81 extern Mutex* CMRegionStack_lock; // used for protecting accesses to the CM region stack |
79 extern Mutex* CMRegionStack_lock; // used for protecting accesses to the CM region stack |
82 extern Mutex* SATB_Q_FL_lock; // Protects SATB Q |
80 extern Mutex* SATB_Q_FL_lock; // Protects SATB Q |
83 // buffer free list. |
81 // buffer free list. |
84 extern Monitor* SATB_Q_CBL_mon; // Protects SATB Q |
82 extern Monitor* SATB_Q_CBL_mon; // Protects SATB Q |
85 // completed buffer queue. |
83 // completed buffer queue. |
123 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data |
121 extern Mutex* PerfDataMemAlloc_lock; // a lock on the allocator for PerfData memory for performance data |
124 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources |
122 extern Mutex* PerfDataManager_lock; // a long on access to PerfDataManager resources |
125 extern Mutex* ParkerFreeList_lock; |
123 extern Mutex* ParkerFreeList_lock; |
126 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches |
124 extern Mutex* OopMapCacheAlloc_lock; // protects allocation of oop_map caches |
127 |
125 |
|
126 extern Mutex* FreeList_lock; // protects the free region list during safepoints |
|
127 extern Monitor* SecondaryFreeList_lock; // protects the secondary free region list |
|
128 extern Mutex* OldSets_lock; // protects the old region sets |
128 extern Mutex* MMUTracker_lock; // protects the MMU |
129 extern Mutex* MMUTracker_lock; // protects the MMU |
129 // tracker data structures |
130 // tracker data structures |
130 extern Mutex* HotCardCache_lock; // protects the hot card cache |
131 extern Mutex* HotCardCache_lock; // protects the hot card cache |
131 |
132 |
132 extern Mutex* Management_lock; // a lock used to serialize JVM management |
133 extern Mutex* Management_lock; // a lock used to serialize JVM management |