< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

Print this page
rev 57716 : [mq]: remove_cbl_mon
   1 /*
   2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  52 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  53 extern Mutex*   SymbolArena_lock;                // a lock on the symbol table arena
  54 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  55 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  56 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special
  57 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  58 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
  59 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
  60 extern Monitor* CGCPhaseManager_lock;            // a lock to protect a concurrent GC's phase management
  61 extern Monitor* VMOperationQueue_lock;           // a lock on queue of vm_operations waiting to execute
  62 extern Monitor* VMOperationRequest_lock;         // a lock on Threads waiting for a vm_operation to terminate
  63 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
  64                                                  // (also used by Safepoints too to block threads creation/destruction)
  65 extern Mutex*   NonJavaThreadsList_lock;         // a lock on the NonJavaThreads list
  66 extern Mutex*   NonJavaThreadsListSync_lock;     // a lock for NonJavaThreads list synchronization
  67 extern Monitor* CGC_lock;                        // used for coordination between
  68                                                  // fore- & background GC threads.
  69 extern Monitor* STS_lock;                        // used for joining/leaving SuspendibleThreadSet.
  70 extern Monitor* FullGCCount_lock;                // in support of "concurrent" full gc
  71 extern Monitor* G1OldGCCount_lock;               // in support of "concurrent" full gc
  72 extern Monitor* DirtyCardQ_CBL_mon;              // Protects dirty card Q
  73                                                  // completed buffer queue.
  74 extern Mutex*   Shared_DirtyCardQ_lock;          // Lock protecting dirty card
  75                                                  // queue shared by
  76                                                  // non-Java threads.
  77 extern Mutex*   MarkStackFreeList_lock;          // Protects access to the global mark stack free list.
  78 extern Mutex*   MarkStackChunkList_lock;         // Protects access to the global mark stack chunk list.
  79 extern Mutex*   MonitoringSupport_lock;          // Protects updates to the serviceability memory pools.
  80 extern Mutex*   ParGCRareEvent_lock;             // Synchronizes various (rare) parallel GC ops.
  81 extern Mutex*   Compile_lock;                    // a lock held when Compilation is updating code (used to block CodeCache traversal, CHA updates, etc)
  82 extern Monitor* MethodCompileQueue_lock;         // a lock held when method compilations are enqueued, dequeued
  83 extern Monitor* CompileThread_lock;              // a lock held by compile threads during compilation system initialization
  84 extern Monitor* Compilation_lock;                // a lock used to pause compilation
  85 extern Mutex*   CompileTaskAlloc_lock;           // a lock held when CompileTasks are allocated
  86 extern Mutex*   CompileStatistics_lock;          // a lock held when updating compilation statistics
  87 extern Mutex*   DirectivesStack_lock;            // a lock held when mutating the dirstack and ref counting directives
  88 extern Mutex*   MultiArray_lock;                 // a lock used to guard allocation of multi-dim arrays
  89 extern Monitor* Terminator_lock;                 // a lock used to guard termination of the vm
  90 extern Monitor* InitCompleted_lock;              // a lock used to signal threads waiting on init completed
  91 extern Monitor* BeforeExit_lock;                 // a lock used to guard cleanups and shutdown hooks
  92 extern Monitor* Notify_lock;                     // a lock used to synchronize the start-up of the vm
  93 extern Mutex*   ProfilePrint_lock;               // a lock used to serialize the printing of profiles


   1 /*
   2  * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  52 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  53 extern Mutex*   SymbolArena_lock;                // a lock on the symbol table arena
  54 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  55 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  56 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special
  57 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  58 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
  59 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
  60 extern Monitor* CGCPhaseManager_lock;            // a lock to protect a concurrent GC's phase management
  61 extern Monitor* VMOperationQueue_lock;           // a lock on queue of vm_operations waiting to execute
  62 extern Monitor* VMOperationRequest_lock;         // a lock on Threads waiting for a vm_operation to terminate
  63 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
  64                                                  // (also used by Safepoints too to block threads creation/destruction)
  65 extern Mutex*   NonJavaThreadsList_lock;         // a lock on the NonJavaThreads list
  66 extern Mutex*   NonJavaThreadsListSync_lock;     // a lock for NonJavaThreads list synchronization
  67 extern Monitor* CGC_lock;                        // used for coordination between
  68                                                  // fore- & background GC threads.
  69 extern Monitor* STS_lock;                        // used for joining/leaving SuspendibleThreadSet.
  70 extern Monitor* FullGCCount_lock;                // in support of "concurrent" full gc
  71 extern Monitor* G1OldGCCount_lock;               // in support of "concurrent" full gc


  72 extern Mutex*   Shared_DirtyCardQ_lock;          // Lock protecting dirty card
  73                                                  // queue shared by
  74                                                  // non-Java threads.
  75 extern Mutex*   MarkStackFreeList_lock;          // Protects access to the global mark stack free list.
  76 extern Mutex*   MarkStackChunkList_lock;         // Protects access to the global mark stack chunk list.
  77 extern Mutex*   MonitoringSupport_lock;          // Protects updates to the serviceability memory pools.
  78 extern Mutex*   ParGCRareEvent_lock;             // Synchronizes various (rare) parallel GC ops.
  79 extern Mutex*   Compile_lock;                    // a lock held when Compilation is updating code (used to block CodeCache traversal, CHA updates, etc)
  80 extern Monitor* MethodCompileQueue_lock;         // a lock held when method compilations are enqueued, dequeued
  81 extern Monitor* CompileThread_lock;              // a lock held by compile threads during compilation system initialization
  82 extern Monitor* Compilation_lock;                // a lock used to pause compilation
  83 extern Mutex*   CompileTaskAlloc_lock;           // a lock held when CompileTasks are allocated
  84 extern Mutex*   CompileStatistics_lock;          // a lock held when updating compilation statistics
  85 extern Mutex*   DirectivesStack_lock;            // a lock held when mutating the dirstack and ref counting directives
  86 extern Mutex*   MultiArray_lock;                 // a lock used to guard allocation of multi-dim arrays
  87 extern Monitor* Terminator_lock;                 // a lock used to guard termination of the vm
  88 extern Monitor* InitCompleted_lock;              // a lock used to signal threads waiting on init completed
  89 extern Monitor* BeforeExit_lock;                 // a lock used to guard cleanups and shutdown hooks
  90 extern Monitor* Notify_lock;                     // a lock used to synchronize the start-up of the vm
  91 extern Mutex*   ProfilePrint_lock;               // a lock used to serialize the printing of profiles


< prev index next >