mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
Reviewed-by: iklam, mchung
This commit is contained in:
parent
7ec9c8eac7
commit
e4469d2c8c
22 changed files with 537 additions and 20 deletions
|
@ -1407,6 +1407,14 @@ bool SystemDictionaryShared::is_excluded_class(InstanceKlass* k) {
|
|||
return (p == NULL) ? true : p->is_excluded();
|
||||
}
|
||||
|
||||
void SystemDictionaryShared::set_excluded(InstanceKlass* k) {
|
||||
Arguments::assert_is_dumping_archive();
|
||||
DumpTimeSharedClassInfo* info = find_or_allocate_info_for(k);
|
||||
if (info != NULL) {
|
||||
info->set_excluded();
|
||||
}
|
||||
}
|
||||
|
||||
void SystemDictionaryShared::set_class_has_failed_verification(InstanceKlass* ik) {
|
||||
Arguments::assert_is_dumping_archive();
|
||||
DumpTimeSharedClassInfo* p = find_or_allocate_info_for(ik);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue