mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8198698: Support Lambda proxy classes in dynamic CDS archive
Added archving of hidden classes of type lambda proxy classes. Co-authored-by: Ioi Lam <ioi.lam@oracle.com> Reviewed-by: mchung, iklam, dholmes
This commit is contained in:
parent
268d870187
commit
847a3baca8
57 changed files with 3724 additions and 39 deletions
|
@ -2602,6 +2602,19 @@ void InstanceKlass::set_shared_class_loader_type(s2 loader_type) {
|
|||
}
|
||||
}
|
||||
|
||||
void InstanceKlass::assign_class_loader_type() {
|
||||
ClassLoaderData *cld = class_loader_data();
|
||||
if (cld->is_boot_class_loader_data()) {
|
||||
set_shared_class_loader_type(ClassLoader::BOOT_LOADER);
|
||||
}
|
||||
else if (cld->is_platform_class_loader_data()) {
|
||||
set_shared_class_loader_type(ClassLoader::PLATFORM_LOADER);
|
||||
}
|
||||
else if (cld->is_system_class_loader_data()) {
|
||||
set_shared_class_loader_type(ClassLoader::APP_LOADER);
|
||||
}
|
||||
}
|
||||
|
||||
#if INCLUDE_JVMTI
|
||||
static void clear_all_breakpoints(Method* m) {
|
||||
m->clear_all_breakpoints();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue