[jdk11u-dev] RFR: 8287596: Reorg jdk.test.lib.util.ForceGC
Alexey Bakhtin
abakhtin at openjdk.org
Wed Sep 25 18:28:45 UTC 2024
On Fri, 29 Mar 2024 21:17:08 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
> Hello
> I'd like to backport this enhancement to fix regression in java/awt/List/ListGarbageCollectionTest/AwtListGarbageCollectionTest.java caused by JDK-8300727. The backport of JDK-8300727 requires JDK-8287596 to be applied first.
>
> The main differences from the JDK17 patch are the following:
> - Reference::refersTo() is introduced in JDK16. Reference::get is used instead
> - test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java in JDK11 does not use ForceGC. Skipped
> - no test/jdk/java/lang/invoke/defineHiddenClass/UnloadingTest.java in JDK11
> - This patch also includes JDK-8261851 changes as part of the test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java patch
>
> All related jtreg tests passed.
MR is reopened to fix JTREG failure
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2640#issuecomment-2374860151
More information about the jdk-updates-dev
mailing list