mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8150752: Share Class Data
Reviewed-by: acorn, hseigel, mschoene
This commit is contained in:
parent
99c24f5f1c
commit
2a09a3923a
8 changed files with 98 additions and 26 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "classfile/classFileStream.hpp"
|
||||
#include "classfile/javaClasses.hpp"
|
||||
#include "classfile/systemDictionary.hpp"
|
||||
#include "classfile/systemDictionaryShared.hpp"
|
||||
#include "classfile/verifier.hpp"
|
||||
#include "classfile/vmSymbols.hpp"
|
||||
#include "code/dependencyContext.hpp"
|
||||
|
@ -597,6 +598,8 @@ bool InstanceKlass::link_class_impl(
|
|||
|
||||
// also sets rewritten
|
||||
this_k->rewrite_class(CHECK_false);
|
||||
} else if (this_k->is_shared()) {
|
||||
SystemDictionaryShared::check_verification_constraints(this_k, CHECK_false);
|
||||
}
|
||||
|
||||
// relocate jsrs and link methods after they are all rewritten
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue