mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8268778: CDS check_excluded_classes needs DumpTimeTable_lock
Reviewed-by: ccheung, minqi
This commit is contained in:
parent
72b3b0af08
commit
e4908a439a
3 changed files with 7 additions and 5 deletions
|
@ -1485,6 +1485,8 @@ public:
|
|||
};
|
||||
|
||||
void SystemDictionaryShared::check_excluded_classes() {
|
||||
assert(no_class_loading_should_happen(), "sanity");
|
||||
assert_lock_strong(DumpTimeTable_lock);
|
||||
ExcludeDumpTimeSharedClasses excl;
|
||||
_dumptime_table->iterate(&excl);
|
||||
_dumptime_table->update_counts();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue