[jdk11u-dev] RFR: 8214799: Add package declaration to each JTREG test case in the gc folder
Evgeny Astigeevich
duke at openjdk.org
Tue Jul 5 11:10:54 UTC 2022
On Wed, 30 Mar 2022 12:58:01 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I want to backport this ot simplify follow-up test backports.
>
> I had to do a row of straight-forward edits:
>
>
> The backport of shenandoah put the CriticalNative tests
> into a different location. This affects four files in this patch.
>
> test/hotspot/jtreg/gc/CriticalNative.java
> I moved this to gc/shenandoah/jni because the other
> critical native test are located there, too.
>
> test/hotspot/jtreg/gc/CriticalNativeArgs.java is at different
> location in 11. Applied the patch to
> test/hotspot/jtreg/gc/shenandoah/jni/CriticalNativeArgs.java
>
> Additional @run commands had to be edited:
> test/hotspot/jtreg/gc/TestFullGCALot.java
>
> Differing context:
> test/hotspot/jtreg/gc/TestHumongousReferenceObject.java
>
> Copyright; @run has less VM arguments.
> test/hotspot/jtreg/gc/TestNUMAPageSize.java
>
> Test not in 11:
> test/hotspot/jtreg/gc/TestNoPerfCounter.java
>
> Copyright: (It seems the shenandoah backport 8214259 omitted the copyright updates of these tests)
> test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java
> test/hotspot/jtreg/gc/arguments/TestMaxMinHeapFreeRatioFlags.java
> test/hotspot/jtreg/gc/arguments/TestNewRatioFlag.java
> test/hotspot/jtreg/gc/arguments/TestNewSizeFlags.java
> test/hotspot/jtreg/gc/arguments/TestShrinkHeapInSteps.java
> test/hotspot/jtreg/gc/arguments/TestSurvivorRatioFlag.java
> test/hotspot/jtreg/gc/arguments/TestTargetSurvivorRatioFlag.java
> test/hotspot/jtreg/gc/arguments/TestVerifyBeforeAndAfterGCFlags.java
>
> @run commands were changed. Simple resolve. "8272783: Epsilon: Refactor tests to improve performance" was already backported.
> test/hotspot/jtreg/gc/epsilon/TestAlignment.java
> test/hotspot/jtreg/gc/epsilon/TestAlwaysPretouch.java
> test/hotspot/jtreg/gc/epsilon/TestArraycopyCheckcast.java
> test/hotspot/jtreg/gc/epsilon/TestByteArrays.java
> test/hotspot/jtreg/gc/epsilon/TestClasses.java
> test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java
> test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java
> test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java
> test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java
> test/hotspot/jtreg/gc/epsilon/TestLogTrace.java
> test/hotspot/jtreg/gc/epsilon/TestManyThreads.java
> test/hotspot/jtreg/gc/epsilon/TestMaxTLAB.java
> test/hotspot/jtreg/gc/epsilon/TestMemoryMXBeans.java
> test/hotspot/jtreg/gc/epsilon/TestMemoryPools.java
> test/hotspot/jtreg/gc/epsilon/TestObjects.java
> test/hotspot/jtreg/gc/epsilon/TestPrintHeapSteps.java
> test/hotspot/jtreg/gc/epsilon/TestRefArrays.java
> test/hotspot/jtreg/gc/epsilon/TestUpdateCountersSteps.java
>
> Not in 11:
> test/hotspot/jtreg/gc/g1/TestEdenSurvivorLessThanMax.java
> test/hotspot/jtreg/gc/g1/TestPeriodicCollection.java
> test/hotspot/jtreg/gc/g1/TestPeriodicLogMessages.java
>
> Copyright:
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData00.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData05.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData10.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData15.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData20.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData25.java
> test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData30.java
>
> Not in 11:
> test/hotspot/jtreg/gc/g1/TestStringTableStats.java
>
> Resolved:
> test/hotspot/jtreg/gc/g1/mixedgc/TestOldGenCollectionUsage.java
>
> test/hotspot/jtreg/gc/libCriticalNative.c is at different
> location in 11. Applied the patch to
> test/hotspot/jtreg/gc/shenandoah/jni/libCriticalNative.c
>
> Not in 11:
> test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java
> test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAt.java
> test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAtError.java
> test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAtMultiple.java
> test/hotspot/jtreg/gc/nvdimm/TestHumongousObjectsOnNvdimm.java
> test/hotspot/jtreg/gc/nvdimm/TestOldObjectsOnNvdimm.java
> test/hotspot/jtreg/gc/nvdimm/TestYoungObjectsOnDram.java
>
> test/hotspot/jtreg/gc/stress/CriticalNativeStress.java is at different
> location in 11. Applied the patch to
> test/hotspot/jtreg/gc/shenandoah/jni/CriticalNativeStress.java
>
> Copyright:
> test/hotspot/jtreg/gc/stress/TestReclaimStringsLeaksMemory.java
> test/hotspot/jtreg/gc/stress/TestStressIHOPMultiThread.java
>
> Resolved due to "8278115: gc/stress/gclocker/TestGCLockerWithSerial.java has duplicate -Xmx" and various shenandoah changes.
> test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithShenandoah.java
> test/hotspot/jtreg/gc/stress/gclocker/TestGCLockerWithSerial.java
> test/hotspot/jtreg/gc/stress/gclocker/TestGCLockerWithShenandoah.java
> test/hotspot/jtreg/gc/stress/gcold/TestGCOldWithShenandoah.java
> test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithShenandoah.java
>
> Copyright:
> test/hotspot/jtreg/gc/survivorAlignment/TestAllocationInEden.java
> test/hotspot/jtreg/gc/survivorAlignment/TestPromotionFromEdenToTenured.java
> test/hotspot/jtreg/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java
> test/hotspot/jtreg/gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
> test/hotspot/jtreg/gc/survivorAlignment/TestPromotionToSurvivor.java
> test/hotspot/jtreg/gc/whitebox/TestWBGC.java
I created https://bugs.openjdk.org/browse/JDK-8289738
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/966
More information about the jdk-updates-dev
mailing list