mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8259643: ZGC can return metaspace OOM prematurely
Reviewed-by: stefank, pliden, stuefe
This commit is contained in:
parent
a44b45fdf3
commit
00c388b4ab
6 changed files with 280 additions and 21 deletions
|
@ -139,7 +139,8 @@ extern Monitor* JfrThreadSampler_lock; // used to suspend/resume JFR t
|
|||
extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8
|
||||
#endif
|
||||
|
||||
extern Mutex* Metaspace_lock; // protects Metaspace virtualspace and chunk expansions
|
||||
extern Mutex* Metaspace_lock; // protects Metaspace virtualspace and chunk expansions
|
||||
extern Monitor* MetaspaceCritical_lock; // synchronizes failed metaspace allocations that risk throwing metaspace OOM
|
||||
extern Mutex* ClassLoaderDataGraph_lock; // protects CLDG list, needed for concurrent unloading
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue