1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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. |
34 extern Monitor* SystemDictionary_lock; // a lock on the system dictionary |
34 extern Monitor* SystemDictionary_lock; // a lock on the system dictionary |
35 extern Mutex* Module_lock; // a lock on module and package related data structures |
35 extern Mutex* Module_lock; // a lock on module and package related data structures |
36 extern Mutex* CompiledIC_lock; // a lock used to guard compiled IC patching and access |
36 extern Mutex* CompiledIC_lock; // a lock used to guard compiled IC patching and access |
37 extern Mutex* InlineCacheBuffer_lock; // a lock used to guard the InlineCacheBuffer |
37 extern Mutex* InlineCacheBuffer_lock; // a lock used to guard the InlineCacheBuffer |
38 extern Mutex* VMStatistic_lock; // a lock used to guard statistics count increment |
38 extern Mutex* VMStatistic_lock; // a lock used to guard statistics count increment |
39 extern Mutex* JNIGlobalHandle_lock; // a lock on creating JNI global handles |
39 extern Mutex* JNIGlobalAlloc_lock; // JNI global storage allocate list lock |
|
40 extern Mutex* JNIGlobalActive_lock; // JNI global storage active list lock |
|
41 extern Mutex* JNIWeakAlloc_lock; // JNI weak storage allocate list lock |
|
42 extern Mutex* JNIWeakActive_lock; // JNI weak storage active list lock |
40 extern Mutex* JNIHandleBlockFreeList_lock; // a lock on the JNI handle block free list |
43 extern Mutex* JNIHandleBlockFreeList_lock; // a lock on the JNI handle block free list |
41 extern Mutex* ResolvedMethodTable_lock; // a lock on the ResolvedMethodTable updates |
44 extern Mutex* ResolvedMethodTable_lock; // a lock on the ResolvedMethodTable updates |
42 extern Mutex* JmethodIdCreation_lock; // a lock on creating JNI method identifiers |
45 extern Mutex* JmethodIdCreation_lock; // a lock on creating JNI method identifiers |
43 extern Mutex* JfieldIdCreation_lock; // a lock on creating JNI static field identifiers |
46 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 |
47 extern Monitor* JNICritical_lock; // a lock used while entering and exiting JNI critical regions, allows GC to sometimes get in |