mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang Remove oop pointers from runtime data structures. Co-authored-by: Lois Foltan <lois.foltan@oracle.com> Reviewed-by: lfoltan, stefank
This commit is contained in:
parent
698152fb51
commit
36d1d59425
15 changed files with 115 additions and 158 deletions
|
@ -114,7 +114,7 @@ class ClassLoaderDataGraph : public AllStatic {
|
|||
static void packages_unloading_do(void f(PackageEntry*));
|
||||
static void loaded_classes_do(KlassClosure* klass_closure);
|
||||
static void classes_unloading_do(void f(Klass* const));
|
||||
static bool do_unloading(BoolObjectClosure* is_alive_closure, bool clean_previous_versions);
|
||||
static bool do_unloading(bool clean_previous_versions);
|
||||
|
||||
// dictionary do
|
||||
// Iterate over all klasses in dictionary, but
|
||||
|
@ -220,7 +220,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
|
|||
|
||||
static ClassLoaderData * _the_null_class_loader_data;
|
||||
|
||||
WeakHandle<vm_class_loader_data> _holder; // The oop that determines lifetime of this class loader
|
||||
ClassLoaderWeakHandle _holder; // The oop that determines lifetime of this class loader
|
||||
oop _class_loader; // The instance of java/lang/ClassLoader associated with
|
||||
// this ClassLoaderData
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue