hg: jdk9/hs/hotspot: 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined

lois.foltan at oracle.com lois.foltan at oracle.com
Tue Jun 28 19:30:27 UTC 2016


Changeset: 28accbf6d435
Author:    lfoltan
Date:      2016-06-28 10:11 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/28accbf6d435

8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Summary: Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules
Reviewed-by: coleenp, dholmes, sspitsyn, zgu

! src/share/vm/classfile/classLoaderData.cpp
! src/share/vm/classfile/classLoaderData.hpp
! src/share/vm/classfile/moduleEntry.cpp
! src/share/vm/classfile/moduleEntry.hpp
! src/share/vm/classfile/modules.cpp
! src/share/vm/classfile/packageEntry.cpp
! src/share/vm/classfile/packageEntry.hpp
! src/share/vm/classfile/systemDictionary.cpp
! src/share/vm/classfile/systemDictionary.hpp
+ test/runtime/modules/ModuleStress/CustomSystemClassLoader.java
+ test/runtime/modules/ModuleStress/ModuleNonBuiltinCLMain.java
+ test/runtime/modules/ModuleStress/ModuleSameCLMain.java
+ test/runtime/modules/ModuleStress/ModuleStress.java
+ test/runtime/modules/ModuleStress/ModuleStressGC.java
+ test/runtime/modules/ModuleStress/src/jdk.test/test/MainGC.java
+ test/runtime/modules/ModuleStress/src/jdk.translet/translet/MainGC.java



More information about the jdk9-all-changes mailing list