mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8210155: Lock ClassLoaderDataGraph
In preparation for concurrent class unloading. Reviewed-by: hseigel, eosterlund
This commit is contained in:
parent
71479d029a
commit
eb9259138f
19 changed files with 199 additions and 82 deletions
|
@ -1489,6 +1489,7 @@ void JvmtiModuleClosure::do_module(ModuleEntry* entry) {
|
|||
jvmtiError
|
||||
JvmtiModuleClosure::get_all_modules(JvmtiEnv* env, jint* module_count_ptr, jobject** modules_ptr) {
|
||||
ResourceMark rm;
|
||||
MutexLocker mcld(ClassLoaderDataGraph_lock);
|
||||
MutexLocker ml(Module_lock);
|
||||
|
||||
_tbl = new GrowableArray<OopHandle>(77);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue