mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
This commit is contained in:
parent
24c8c40bb8
commit
2ad9d3192f
59 changed files with 4174 additions and 3258 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
_file_name = file_name;
|
||||
}
|
||||
|
||||
bool check(ClassFileStream* stream, const int classpath_index) {
|
||||
bool check(const ClassFileStream* stream, const int classpath_index) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,8 @@ public:
|
|||
}
|
||||
|
||||
instanceKlassHandle record_result(const int classpath_index,
|
||||
ClassPathEntry* e, instanceKlassHandle result, TRAPS) {
|
||||
const ClassPathEntry* e,
|
||||
instanceKlassHandle result, TRAPS) {
|
||||
if (ClassLoader::add_package(_file_name, classpath_index, THREAD)) {
|
||||
if (DumpSharedSpaces) {
|
||||
result->set_shared_classpath_index(classpath_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue