hg: valhalla/valhalla: [nestmates] Change the default of Hidden class to have its own lifecycle independent of its defining loader.

mandy.chung at oracle.com mandy.chung at oracle.com
Tue Mar 17 18:38:15 UTC 2020


Changeset: f4f1d5294876
Author:    mchung
Date:      2020-03-17 11:37 -0700
URL:       https://hg.openjdk.java.net/valhalla/valhalla/rev/f4f1d5294876

[nestmates] Change the default of Hidden class to have its own lifecycle independent of its defining loader.
Reviewed-by: lfoltan, hseigel
Contributed-by: alex.buckley at oracle.com, mandy.chung at oracle.com

! src/hotspot/share/classfile/javaClasses.hpp
! src/hotspot/share/prims/jvm.cpp
! src/hotspot/share/prims/methodHandles.cpp
! src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java
! src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java
! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
! src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! test/hotspot/jtreg/runtime/HiddenClasses/GCHiddenClass.java
! test/hotspot/jtreg/runtime/HiddenClasses/StressHiddenClasses.java
! test/hotspot/jtreg/runtime/HiddenClasses/TestHiddenClassUnloading.java
! test/hotspot/jtreg/serviceability/dcmd/vm/ClassLoaderStatsTest.java
! test/jdk/java/lang/invoke/defineHiddenClass/BasicTest.java
! test/jdk/java/lang/invoke/defineHiddenClass/DefineClassWithClassData.java
! test/jdk/java/lang/invoke/defineHiddenClass/HiddenNestmateTest.java
+ test/jdk/java/lang/invoke/defineHiddenClass/UnloadingTest.java
+ test/jdk/java/lang/invoke/defineHiddenClass/src/LookupHelper.java
! test/jdk/jdk/jfr/event/runtime/TestClasses.java
+ test/lib/jdk/test/lib/util/ForceGC.java
! test/micro/org/openjdk/bench/java/lang/invoke/LookupDefineClass.java



More information about the valhalla-dev mailing list