< prev index next >

src/share/vm/runtime/mutexLocker.hpp

Print this page
rev 12504 : [mq]: whitebox
   1 /*
   2  * Copyright (c) 1997, 2016, 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  *


  40 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  41 extern Mutex*   MemberNameTable_lock;            // a lock on the MemberNameTable updates
  42 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  43 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
  44 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
  45 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
  46 extern Monitor* Heap_lock;                       // a lock on the heap
  47 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
  48 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
  49 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
  50 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  51 extern Mutex*   SymbolTable_lock;                // a lock on the symbol table
  52 extern Mutex*   StringTable_lock;                // a lock on the interned string table
  53 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  54 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  55 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special, use MutexLockerEx
  56 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  57 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
  58 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
  59 extern Mutex*   DerivedPointerTableGC_lock;      // a lock to protect the derived pointer table

  60 extern Monitor* VMOperationQueue_lock;           // a lock on queue of vm_operations waiting to execute
  61 extern Monitor* VMOperationRequest_lock;         // a lock on Threads waiting for a vm_operation to terminate
  62 extern Monitor* Safepoint_lock;                  // a lock used by the safepoint abstraction
  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 Monitor* CGC_lock;                        // used for coordination between
  66                                                  // fore- & background GC threads.
  67 extern Monitor* STS_lock;                        // used for joining/leaving SuspendibleThreadSet.
  68 extern Monitor* FullGCCount_lock;                // in support of "concurrent" full gc
  69 extern Mutex*   SATB_Q_FL_lock;                  // Protects SATB Q
  70                                                  // buffer free list.
  71 extern Monitor* SATB_Q_CBL_mon;                  // Protects SATB Q
  72                                                  // completed buffer queue.
  73 extern Mutex*   Shared_SATB_Q_lock;              // Lock protecting SATB
  74                                                  // queue shared by
  75                                                  // non-Java threads.
  76 
  77 extern Mutex*   DirtyCardQ_FL_lock;              // Protects dirty card Q
  78                                                  // buffer free list.
  79 extern Monitor* DirtyCardQ_CBL_mon;              // Protects dirty card Q


   1 /*
   2  * Copyright (c) 1997, 2017, 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  *


  40 extern Mutex*   JNIHandleBlockFreeList_lock;     // a lock on the JNI handle block free list
  41 extern Mutex*   MemberNameTable_lock;            // a lock on the MemberNameTable updates
  42 extern Mutex*   JmethodIdCreation_lock;          // a lock on creating JNI method identifiers
  43 extern Mutex*   JfieldIdCreation_lock;           // a lock on creating JNI static field identifiers
  44 extern Monitor* JNICritical_lock;                // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in
  45 extern Mutex*   JvmtiThreadState_lock;           // a lock on modification of JVMTI thread data
  46 extern Monitor* Heap_lock;                       // a lock on the heap
  47 extern Mutex*   ExpandHeap_lock;                 // a lock on expanding the heap
  48 extern Mutex*   AdapterHandlerLibrary_lock;      // a lock on the AdapterHandlerLibrary
  49 extern Mutex*   SignatureHandlerLibrary_lock;    // a lock on the SignatureHandlerLibrary
  50 extern Mutex*   VtableStubs_lock;                // a lock on the VtableStubs
  51 extern Mutex*   SymbolTable_lock;                // a lock on the symbol table
  52 extern Mutex*   StringTable_lock;                // a lock on the interned string table
  53 extern Monitor* StringDedupQueue_lock;           // a lock on the string deduplication queue
  54 extern Mutex*   StringDedupTable_lock;           // a lock on the string deduplication table
  55 extern Monitor* CodeCache_lock;                  // a lock on the CodeCache, rank is special, use MutexLockerEx
  56 extern Mutex*   MethodData_lock;                 // a lock on installation of method data
  57 extern Mutex*   TouchedMethodLog_lock;           // a lock on allocation of LogExecutedMethods info
  58 extern Mutex*   RetData_lock;                    // a lock on installation of RetData inside method data
  59 extern Mutex*   DerivedPointerTableGC_lock;      // a lock to protect the derived pointer table
  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* Safepoint_lock;                  // a lock used by the safepoint abstraction
  64 extern Monitor* Threads_lock;                    // a lock on the Threads table of active Java threads
  65                                                  // (also used by Safepoints too to block threads creation/destruction)
  66 extern Monitor* CGC_lock;                        // used for coordination between
  67                                                  // fore- & background GC threads.
  68 extern Monitor* STS_lock;                        // used for joining/leaving SuspendibleThreadSet.
  69 extern Monitor* FullGCCount_lock;                // in support of "concurrent" full gc
  70 extern Mutex*   SATB_Q_FL_lock;                  // Protects SATB Q
  71                                                  // buffer free list.
  72 extern Monitor* SATB_Q_CBL_mon;                  // Protects SATB Q
  73                                                  // completed buffer queue.
  74 extern Mutex*   Shared_SATB_Q_lock;              // Lock protecting SATB
  75                                                  // queue shared by
  76                                                  // non-Java threads.
  77 
  78 extern Mutex*   DirtyCardQ_FL_lock;              // Protects dirty card Q
  79                                                  // buffer free list.
  80 extern Monitor* DirtyCardQ_CBL_mon;              // Protects dirty card Q


< prev index next >