changeset 40059:c2304140ed64

8132919: Put compiler tests in packages Reviewed-by: vlivanov, dpochepk Contributed-by: igor.ignatyev@oracle.com
author tpivovarova
date Tue, 12 Jul 2016 18:24:48 +0300
parents b4441f6cfe79
children 0e7ca474ea35
files hotspot/make/test/JtregNative.gmk hotspot/test/TEST.groups hotspot/test/compiler/arguments/BMICommandLineOptionTestBase.java hotspot/test/compiler/arguments/BMISupportedCPUTest.java hotspot/test/compiler/arguments/BMIUnsupportedCPUTest.java hotspot/test/compiler/arguments/CheckCICompilerCount.java hotspot/test/compiler/arguments/CheckCompileThresholdScaling.java hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java hotspot/test/compiler/arguments/TestUseCompiler.java hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java hotspot/test/compiler/arraycopy/TestArrayCloneBadAssert.java hotspot/test/compiler/arraycopy/TestArrayCopyAsLoadsStores.java hotspot/test/compiler/arraycopy/TestArrayCopyBadReexec.java hotspot/test/compiler/arraycopy/TestArrayCopyMacro.java hotspot/test/compiler/arraycopy/TestArrayCopyNoInit.java hotspot/test/compiler/arraycopy/TestArrayCopyNoInitDeopt.java hotspot/test/compiler/arraycopy/TestArrayCopyOfStopped.java hotspot/test/compiler/arraycopy/TestArrayCopyOverflowArguments.java hotspot/test/compiler/arraycopy/TestArrayCopyOverflowInBoundChecks.java hotspot/test/compiler/arraycopy/TestArrayCopyStoppedAfterGuards.java hotspot/test/compiler/arraycopy/TestArrayCopyUtils.java hotspot/test/compiler/arraycopy/TestArraysCopyOfNoTypeCheck.java hotspot/test/compiler/arraycopy/TestDeadArrayCopyOnMemChain.java hotspot/test/compiler/arraycopy/TestEliminateArrayCopy.java hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyDeopt.java hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyPhi.java hotspot/test/compiler/arraycopy/TestEliminatedArrayLoopPredicateCopyDeopt.java hotspot/test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java hotspot/test/compiler/arraycopy/TestInstanceCloneUtils.java hotspot/test/compiler/arraycopy/TestLoadBypassArrayCopy.java hotspot/test/compiler/arraycopy/TestMissingControl.java hotspot/test/compiler/arraycopy/TestObjectArrayClone.java hotspot/test/compiler/arraycopy/TestReduceBulkZeroingDisabled.java hotspot/test/compiler/c1/6478991/NullCheckTest.java hotspot/test/compiler/c1/6579789/Test6579789.java hotspot/test/compiler/c1/6756768/Test6756768.java hotspot/test/compiler/c1/6756768/Test6756768_2.java hotspot/test/compiler/c1/6757316/Test6757316.java hotspot/test/compiler/c1/6758234/Test6758234.java hotspot/test/compiler/c1/6769124/TestArrayCopy6769124.java hotspot/test/compiler/c1/6769124/TestDeoptInt6769124.java hotspot/test/compiler/c1/6769124/TestUnalignedLoad6769124.java hotspot/test/compiler/c1/6795465/Test6795465.java hotspot/test/compiler/c1/6849574/Test.java hotspot/test/compiler/c1/6855215/Test6855215.java hotspot/test/compiler/c1/6932496/Test6932496.java hotspot/test/compiler/c1/7042153/Test7042153.java hotspot/test/compiler/c1/7090976/Test7090976.java hotspot/test/compiler/c1/7103261/Test7103261.java hotspot/test/compiler/c1/7123108/Test7123108.java hotspot/test/compiler/c1/8004051/Test8004051.java hotspot/test/compiler/c1/8011706/Test8011706.java hotspot/test/compiler/c1/8011771/Test8011771.java hotspot/test/compiler/c1/CanonicalizeArrayLength.java hotspot/test/compiler/c1/NullCheckTest.java hotspot/test/compiler/c1/Test6579789.java hotspot/test/compiler/c1/Test6756768.java hotspot/test/compiler/c1/Test6756768_2.java hotspot/test/compiler/c1/Test6757316.java hotspot/test/compiler/c1/Test6758234.java hotspot/test/compiler/c1/Test6795465.java hotspot/test/compiler/c1/Test6849574.java hotspot/test/compiler/c1/Test6855215.java hotspot/test/compiler/c1/Test6932496.java hotspot/test/compiler/c1/Test7042153.java hotspot/test/compiler/c1/Test7090976.java hotspot/test/compiler/c1/Test7103261.java hotspot/test/compiler/c1/Test7123108.java hotspot/test/compiler/c1/Test8004051.java hotspot/test/compiler/c1/Test8011706.java hotspot/test/compiler/c1/Test8011771.java hotspot/test/compiler/c1/TestArrayCopy.java hotspot/test/compiler/c1/TestDeoptInt.java hotspot/test/compiler/c1/TestUnalignedLoad.java hotspot/test/compiler/c2/5057225/Test5057225.java hotspot/test/compiler/c2/5091921/Test5091921.java hotspot/test/compiler/c2/5091921/Test6186134.java hotspot/test/compiler/c2/5091921/Test6196102.java hotspot/test/compiler/c2/5091921/Test6357214.java hotspot/test/compiler/c2/5091921/Test6559156.java hotspot/test/compiler/c2/5091921/Test6753639.java hotspot/test/compiler/c2/5091921/Test6850611.java hotspot/test/compiler/c2/5091921/Test6890943.java hotspot/test/compiler/c2/5091921/Test6897150.java hotspot/test/compiler/c2/5091921/Test6905845.java hotspot/test/compiler/c2/5091921/Test6931567.java hotspot/test/compiler/c2/5091921/Test6935022.java hotspot/test/compiler/c2/5091921/Test6959129.java hotspot/test/compiler/c2/5091921/Test6985295.java hotspot/test/compiler/c2/5091921/Test6992759.java hotspot/test/compiler/c2/5091921/Test7005594.java hotspot/test/compiler/c2/5091921/Test7005594.sh hotspot/test/compiler/c2/5091921/Test7020614.java hotspot/test/compiler/c2/5091921/input6890943.txt hotspot/test/compiler/c2/5091921/output6890943.txt hotspot/test/compiler/c2/6340864/TestByteVect.java hotspot/test/compiler/c2/6340864/TestDoubleVect.java hotspot/test/compiler/c2/6340864/TestFloatVect.java hotspot/test/compiler/c2/6340864/TestIntVect.java hotspot/test/compiler/c2/6340864/TestLongVect.java hotspot/test/compiler/c2/6340864/TestShortVect.java hotspot/test/compiler/c2/6443505/Test6443505.java hotspot/test/compiler/c2/6589834/InlinedArrayCloneTestCase.java hotspot/test/compiler/c2/6589834/Test_ia32.java hotspot/test/compiler/c2/6603011/Test.java hotspot/test/compiler/c2/6636138/Test1.java hotspot/test/compiler/c2/6636138/Test2.java hotspot/test/compiler/c2/6646019/Test.java hotspot/test/compiler/c2/6646020/Tester.java hotspot/test/compiler/c2/6661247/Test.java hotspot/test/compiler/c2/6663621/IVTest.java hotspot/test/compiler/c2/6663848/Tester.java hotspot/test/compiler/c2/6663854/Test6663854.java hotspot/test/compiler/c2/6695810/Test.java hotspot/test/compiler/c2/6700047/Test6700047.java hotspot/test/compiler/c2/6711100/Test.java hotspot/test/compiler/c2/6711117/Test.java hotspot/test/compiler/c2/6712835/Test6712835.java hotspot/test/compiler/c2/6714694/Tester.java hotspot/test/compiler/c2/6724218/Test.java hotspot/test/compiler/c2/6732154/Test6732154.java hotspot/test/compiler/c2/6741738/Tester.java hotspot/test/compiler/c2/6772683/InterruptedTest.java hotspot/test/compiler/c2/6792161/Test6792161.java hotspot/test/compiler/c2/6795362/Test6795362.java hotspot/test/compiler/c2/6796786/Test6796786.java hotspot/test/compiler/c2/6799693/Test.java hotspot/test/compiler/c2/6800154/Test6800154.java hotspot/test/compiler/c2/6805724/Test6805724.java hotspot/test/compiler/c2/6823453/Test.java hotspot/test/compiler/c2/6832293/Test.java hotspot/test/compiler/c2/6837011/Test6837011.java hotspot/test/compiler/c2/6837094/Test.java hotspot/test/compiler/c2/6843752/Test.java hotspot/test/compiler/c2/6851282/Test.java hotspot/test/compiler/c2/6852078/Test6852078.java hotspot/test/compiler/c2/6857159/Test6857159.java hotspot/test/compiler/c2/6863155/Test6863155.java hotspot/test/compiler/c2/6865031/Test.java hotspot/test/compiler/c2/6866651/Test.java hotspot/test/compiler/c2/6877254/Test.java hotspot/test/compiler/c2/6880034/Test6880034.java hotspot/test/compiler/c2/6885584/Test6885584.java hotspot/test/compiler/c2/6894807/IsInstanceTest.java hotspot/test/compiler/c2/6901572/Test.java hotspot/test/compiler/c2/6910484/Test.java hotspot/test/compiler/c2/6910605/Test.java hotspot/test/compiler/c2/6910618/Test.java hotspot/test/compiler/c2/6912517/Test.java hotspot/test/compiler/c2/6916644/Test6916644.java hotspot/test/compiler/c2/6921969/TestMultiplyLongHiZero.java hotspot/test/compiler/c2/6930043/Test6930043.java hotspot/test/compiler/c2/6946040/TestCharShortByteSwap.java hotspot/test/compiler/c2/6956668/Test6956668.java hotspot/test/compiler/c2/6958485/Test.java hotspot/test/compiler/c2/6968348/Test6968348.java hotspot/test/compiler/c2/6973329/Test.java hotspot/test/compiler/c2/7002666/Test7002666.java hotspot/test/compiler/c2/7009359/Test7009359.java hotspot/test/compiler/c2/7017746/Test.java hotspot/test/compiler/c2/7024475/Test7024475.java hotspot/test/compiler/c2/7029152/Test.java hotspot/test/compiler/c2/7041100/Test7041100.java hotspot/test/compiler/c2/7046096/Test7046096.java hotspot/test/compiler/c2/7047069/Test7047069.java hotspot/test/compiler/c2/7048332/Test7048332.java hotspot/test/compiler/c2/7068051/Test7068051.java hotspot/test/compiler/c2/7070134/Stemmer.java hotspot/test/compiler/c2/7070134/words hotspot/test/compiler/c2/7110586/Test7110586.java hotspot/test/compiler/c2/7125879/Test7125879.java hotspot/test/compiler/c2/7160610/Test7160610.java hotspot/test/compiler/c2/7169782/Test7169782.java hotspot/test/compiler/c2/7174363/Test7174363.java hotspot/test/compiler/c2/7177917/Test7177917.java hotspot/test/compiler/c2/7179138/Test7179138_1.java hotspot/test/compiler/c2/7179138/Test7179138_2.java hotspot/test/compiler/c2/7190310/Test7190310.java hotspot/test/compiler/c2/7190310/Test7190310_unsafe.java hotspot/test/compiler/c2/7192963/TestByteVect.java hotspot/test/compiler/c2/7192963/TestDoubleVect.java hotspot/test/compiler/c2/7192963/TestFloatVect.java hotspot/test/compiler/c2/7192963/TestIntVect.java hotspot/test/compiler/c2/7192963/TestLongVect.java hotspot/test/compiler/c2/7192963/TestShortVect.java hotspot/test/compiler/c2/7199742/Test7199742.java hotspot/test/compiler/c2/7200264/Test7200264.sh hotspot/test/compiler/c2/7200264/TestIntVect.java hotspot/test/compiler/c2/8000805/Test8000805.java hotspot/test/compiler/c2/8002069/Test8002069.java hotspot/test/compiler/c2/8004741/Test8004741.java hotspot/test/compiler/c2/8004867/TestIntAtomicCAS.java hotspot/test/compiler/c2/8004867/TestIntAtomicOrdered.java hotspot/test/compiler/c2/8004867/TestIntAtomicVolatile.java hotspot/test/compiler/c2/8004867/TestIntUnsafeCAS.java hotspot/test/compiler/c2/8004867/TestIntUnsafeOrdered.java hotspot/test/compiler/c2/8004867/TestIntUnsafeVolatile.java hotspot/test/compiler/c2/8005956/PolynomialRoot.java hotspot/test/compiler/c2/8007294/Test8007294.java hotspot/test/compiler/c2/8007722/Test8007722.java hotspot/test/compiler/c2/FloatingPointFoldingTest.java hotspot/test/compiler/c2/IVTest.java hotspot/test/compiler/c2/InterruptedTest.java hotspot/test/compiler/c2/IsInstanceTest.java hotspot/test/compiler/c2/PolynomialRoot.java hotspot/test/compiler/c2/Test5057225.java hotspot/test/compiler/c2/Test5091921.java hotspot/test/compiler/c2/Test6186134.java hotspot/test/compiler/c2/Test6196102.java hotspot/test/compiler/c2/Test6357214.java hotspot/test/compiler/c2/Test6443505.java hotspot/test/compiler/c2/Test6559156.java hotspot/test/compiler/c2/Test6603011.java hotspot/test/compiler/c2/Test6636138_1.java hotspot/test/compiler/c2/Test6636138_2.java hotspot/test/compiler/c2/Test6646019.java hotspot/test/compiler/c2/Test6661247.java hotspot/test/compiler/c2/Test6695810.java hotspot/test/compiler/c2/Test6700047.java hotspot/test/compiler/c2/Test6711100.java hotspot/test/compiler/c2/Test6724218.java hotspot/test/compiler/c2/Test6732154.java hotspot/test/compiler/c2/Test6741738.java hotspot/test/compiler/c2/Test6753639.java hotspot/test/compiler/c2/Test6792161.java hotspot/test/compiler/c2/Test6795362.java hotspot/test/compiler/c2/Test6796786.java hotspot/test/compiler/c2/Test6799693.java hotspot/test/compiler/c2/Test6800154.java hotspot/test/compiler/c2/Test6805724.java hotspot/test/compiler/c2/Test6823453.java hotspot/test/compiler/c2/Test6832293.java hotspot/test/compiler/c2/Test6837011.java hotspot/test/compiler/c2/Test6837094.java hotspot/test/compiler/c2/Test6843752.java hotspot/test/compiler/c2/Test6850611.java hotspot/test/compiler/c2/Test6851282.java hotspot/test/compiler/c2/Test6852078.java hotspot/test/compiler/c2/Test6857159.java hotspot/test/compiler/c2/Test6863155.java hotspot/test/compiler/c2/Test6866651.java hotspot/test/compiler/c2/Test6877254.java hotspot/test/compiler/c2/Test6880034.java hotspot/test/compiler/c2/Test6885584.java hotspot/test/compiler/c2/Test6897150.java hotspot/test/compiler/c2/Test6901572.java hotspot/test/compiler/c2/Test6905845.java hotspot/test/compiler/c2/Test6910484.java hotspot/test/compiler/c2/Test6910605_1.java hotspot/test/compiler/c2/Test6910605_2.java hotspot/test/compiler/c2/Test6912517.java hotspot/test/compiler/c2/Test6916644.java hotspot/test/compiler/c2/Test6930043.java hotspot/test/compiler/c2/Test6931567.java hotspot/test/compiler/c2/Test6935022.java hotspot/test/compiler/c2/Test6956668.java hotspot/test/compiler/c2/Test6958485.java hotspot/test/compiler/c2/Test6959129.java hotspot/test/compiler/c2/Test6968348.java hotspot/test/compiler/c2/Test6973329.java hotspot/test/compiler/c2/Test6985295.java hotspot/test/compiler/c2/Test6992759.java hotspot/test/compiler/c2/Test7002666.java hotspot/test/compiler/c2/Test7009359.java hotspot/test/compiler/c2/Test7017746.java hotspot/test/compiler/c2/Test7020614.java hotspot/test/compiler/c2/Test7024475.java hotspot/test/compiler/c2/Test7029152.java hotspot/test/compiler/c2/Test7041100.java hotspot/test/compiler/c2/Test7046096.java hotspot/test/compiler/c2/Test7047069.java hotspot/test/compiler/c2/Test7048332.java hotspot/test/compiler/c2/Test7068051.java hotspot/test/compiler/c2/Test7110586.java hotspot/test/compiler/c2/Test7125879.java hotspot/test/compiler/c2/Test7160610.java hotspot/test/compiler/c2/Test7169782.java hotspot/test/compiler/c2/Test7174363.java hotspot/test/compiler/c2/Test7177917.java hotspot/test/compiler/c2/Test7179138_1.java hotspot/test/compiler/c2/Test7179138_2.java hotspot/test/compiler/c2/Test7190310.java hotspot/test/compiler/c2/Test7190310_unsafe.java hotspot/test/compiler/c2/Test7199742.java hotspot/test/compiler/c2/Test8000805.java hotspot/test/compiler/c2/Test8002069.java hotspot/test/compiler/c2/Test8004741.java hotspot/test/compiler/c2/Test8007294.java hotspot/test/compiler/c2/Test8007722.java hotspot/test/compiler/c2/TestCharShortByteSwap.java hotspot/test/compiler/c2/TestDominatingDeadCheckCast.java hotspot/test/compiler/c2/TestMultiplyLongHiZero.java hotspot/test/compiler/c2/cr6340864/TestByteVect.java hotspot/test/compiler/c2/cr6340864/TestDoubleVect.java hotspot/test/compiler/c2/cr6340864/TestFloatVect.java hotspot/test/compiler/c2/cr6340864/TestIntVect.java hotspot/test/compiler/c2/cr6340864/TestLongVect.java hotspot/test/compiler/c2/cr6340864/TestShortVect.java hotspot/test/compiler/c2/cr6589834/InlinedArrayCloneTestCase.java hotspot/test/compiler/c2/cr6589834/Test_ia32.java hotspot/test/compiler/c2/cr6646020/Tester.java hotspot/test/compiler/c2/cr6663848/Tester.java hotspot/test/compiler/c2/cr6663854/Test6663854.java hotspot/test/compiler/c2/cr6711117/Test.java hotspot/test/compiler/c2/cr6712835/Test6712835.java hotspot/test/compiler/c2/cr6714694/Tester.java hotspot/test/compiler/c2/cr6865031/Test.java hotspot/test/compiler/c2/cr6890943/Test6890943.java hotspot/test/compiler/c2/cr6890943/input6890943.txt hotspot/test/compiler/c2/cr6890943/output6890943.txt hotspot/test/compiler/c2/cr7005594/Test7005594.java hotspot/test/compiler/c2/cr7005594/Test7005594.sh hotspot/test/compiler/c2/cr7192963/TestByteVect.java hotspot/test/compiler/c2/cr7192963/TestDoubleVect.java hotspot/test/compiler/c2/cr7192963/TestFloatVect.java hotspot/test/compiler/c2/cr7192963/TestIntVect.java hotspot/test/compiler/c2/cr7192963/TestLongVect.java hotspot/test/compiler/c2/cr7192963/TestShortVect.java hotspot/test/compiler/c2/cr7200264/Test7200264.sh hotspot/test/compiler/c2/cr7200264/TestIntVect.java hotspot/test/compiler/c2/cr8004867/TestIntAtomicCAS.java hotspot/test/compiler/c2/cr8004867/TestIntAtomicOrdered.java hotspot/test/compiler/c2/cr8004867/TestIntAtomicVolatile.java hotspot/test/compiler/c2/cr8004867/TestIntUnsafeCAS.java hotspot/test/compiler/c2/cr8004867/TestIntUnsafeOrdered.java hotspot/test/compiler/c2/cr8004867/TestIntUnsafeVolatile.java hotspot/test/compiler/c2/stemmer/Stemmer.java hotspot/test/compiler/c2/stemmer/words hotspot/test/compiler/calls/TestDirtyInt.java hotspot/test/compiler/calls/common/CallsBase.java hotspot/test/compiler/calls/common/InvokeDynamicPatcher.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeDynamic2CompiledTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeDynamic2InterpretedTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeDynamic2NativeTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeInterface2CompiledTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeInterface2InterpretedTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeInterface2NativeTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeSpecial2CompiledTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeSpecial2InterpretedTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeSpecial2NativeTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeStatic2CompiledTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeStatic2InterpretedTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeStatic2NativeTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeVirtual2CompiledTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeVirtual2InterpretedTest.java hotspot/test/compiler/calls/fromCompiled/CompiledInvokeVirtual2NativeTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeDynamic2CompiledTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeDynamic2InterpretedTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeDynamic2NativeTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeInterface2CompiledTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeInterface2InterpretedTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeInterface2NativeTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeSpecial2InterpretedTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeSpecial2NativeTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeStatic2CompiledTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeStatic2InterpretedTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeStatic2NativeTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeVirtual2CompiledTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeVirtual2InterpretedTest.java hotspot/test/compiler/calls/fromInterpreted/InterpretedInvokeVirtual2NativeTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeSpecial2CompiledTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeSpecial2InterpretedTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeSpecial2NativeTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeStatic2CompiledTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeStatic2InterpretedTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeStatic2NativeTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeVirtual2CompiledTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeVirtual2InterpretedTest.java hotspot/test/compiler/calls/fromNative/NativeInvokeVirtual2NativeTest.java hotspot/test/compiler/calls/libTestDirtyInt.c hotspot/test/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java hotspot/test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java hotspot/test/compiler/classUnloading/methodUnloading/WorkerClass.java hotspot/test/compiler/codecache/CheckReservedInitialCodeCacheSizeArgOrder.java hotspot/test/compiler/codecache/CheckSegmentedCodeCache.java hotspot/test/compiler/codecache/CheckUpperLimit.java hotspot/test/compiler/codecache/OverflowCodeCacheTest.java hotspot/test/compiler/codecache/cli/TestSegmentedCodeCacheOption.java hotspot/test/compiler/codecache/cli/codeheapsize/CodeCacheFreeSpaceRunner.java hotspot/test/compiler/codecache/cli/codeheapsize/GenericCodeHeapSizeRunner.java hotspot/test/compiler/codecache/cli/codeheapsize/JVMStartupRunner.java hotspot/test/compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java hotspot/test/compiler/codecache/cli/common/CodeCacheCLITestBase.java hotspot/test/compiler/codecache/cli/common/CodeCacheCLITestCase.java hotspot/test/compiler/codecache/cli/common/CodeCacheInfoFormatter.java hotspot/test/compiler/codecache/cli/common/CodeCacheOptions.java hotspot/test/compiler/codecache/cli/printcodecache/PrintCodeCacheRunner.java hotspot/test/compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java hotspot/test/compiler/codecache/dtrace/SegmentedCodeCacheDtraceTest.java hotspot/test/compiler/codecache/dtrace/SegmentedCodeCacheDtraceTestWorker.java hotspot/test/compiler/codecache/jmx/BeanTypeTest.java hotspot/test/compiler/codecache/jmx/CodeCacheUtils.java hotspot/test/compiler/codecache/jmx/CodeHeapBeanPresenceTest.java hotspot/test/compiler/codecache/jmx/GetUsageTest.java hotspot/test/compiler/codecache/jmx/InitialAndMaxUsageTest.java hotspot/test/compiler/codecache/jmx/ManagerNamesTest.java hotspot/test/compiler/codecache/jmx/MemoryPoolsPresenceTest.java hotspot/test/compiler/codecache/jmx/PeakUsageTest.java hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java hotspot/test/compiler/codecache/jmx/UsageThresholdExceededSeveralTimesTest.java hotspot/test/compiler/codecache/jmx/UsageThresholdExceededTest.java hotspot/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java hotspot/test/compiler/codecache/jmx/UsageThresholdNotExceededTest.java hotspot/test/compiler/codecache/stress/CodeCacheStressRunner.java hotspot/test/compiler/codecache/stress/Helper.java hotspot/test/compiler/codecache/stress/OverloadCompileQueueTest.java hotspot/test/compiler/codecache/stress/RandomAllocationTest.java hotspot/test/compiler/codecache/stress/UnexpectedDeoptimizationTest.java hotspot/test/compiler/codegen/6378821/Test6378821.java hotspot/test/compiler/codegen/6431242/Test.java hotspot/test/compiler/codegen/6797305/Test6797305.java hotspot/test/compiler/codegen/6814842/Test6814842.java hotspot/test/compiler/codegen/6823354/Test6823354.java hotspot/test/compiler/codegen/6875866/Test.java hotspot/test/compiler/codegen/6879902/Test6879902.java hotspot/test/compiler/codegen/6896617/Test6896617.java hotspot/test/compiler/codegen/6909839/Test6909839.java hotspot/test/compiler/codegen/6935535/Test.java hotspot/test/compiler/codegen/6942326/Test.java hotspot/test/compiler/codegen/7009231/Test7009231.java hotspot/test/compiler/codegen/7088419/CRCTest.java hotspot/test/compiler/codegen/7100757/Test7100757.java hotspot/test/compiler/codegen/7119644/TestBooleanVect.java hotspot/test/compiler/codegen/7119644/TestByteDoubleVect.java hotspot/test/compiler/codegen/7119644/TestByteFloatVect.java hotspot/test/compiler/codegen/7119644/TestByteIntVect.java hotspot/test/compiler/codegen/7119644/TestByteLongVect.java hotspot/test/compiler/codegen/7119644/TestByteShortVect.java hotspot/test/compiler/codegen/7119644/TestByteVect.java hotspot/test/compiler/codegen/7119644/TestCharShortVect.java hotspot/test/compiler/codegen/7119644/TestCharVect.java hotspot/test/compiler/codegen/7119644/TestDoubleVect.java hotspot/test/compiler/codegen/7119644/TestFloatDoubleVect.java hotspot/test/compiler/codegen/7119644/TestFloatVect.java hotspot/test/compiler/codegen/7119644/TestIntDoubleVect.java hotspot/test/compiler/codegen/7119644/TestIntFloatVect.java hotspot/test/compiler/codegen/7119644/TestIntLongVect.java hotspot/test/compiler/codegen/7119644/TestIntVect.java hotspot/test/compiler/codegen/7119644/TestLongDoubleVect.java hotspot/test/compiler/codegen/7119644/TestLongFloatVect.java hotspot/test/compiler/codegen/7119644/TestLongVect.java hotspot/test/compiler/codegen/7119644/TestShortDoubleVect.java hotspot/test/compiler/codegen/7119644/TestShortFloatVect.java hotspot/test/compiler/codegen/7119644/TestShortIntVect.java hotspot/test/compiler/codegen/7119644/TestShortLongVect.java hotspot/test/compiler/codegen/7119644/TestShortVect.java hotspot/test/compiler/codegen/7184394/TestAESBase.java hotspot/test/compiler/codegen/7184394/TestAESDecode.java hotspot/test/compiler/codegen/7184394/TestAESEncode.java hotspot/test/compiler/codegen/7184394/TestAESMain.java hotspot/test/compiler/codegen/8001183/TestCharVect.java hotspot/test/compiler/codegen/8005033/Test8005033.java hotspot/test/compiler/codegen/8011901/Test8011901.java hotspot/test/compiler/codegen/8144028/BitTests.java hotspot/test/compiler/codegen/BMI1.java hotspot/test/compiler/codegen/BitTests.java hotspot/test/compiler/codegen/C1NullCheckOfNullStore.java hotspot/test/compiler/codegen/CRCTest.java hotspot/test/compiler/codegen/IntRotateWithImmediate.java hotspot/test/compiler/codegen/LoadWithMask.java hotspot/test/compiler/codegen/LoadWithMask2.java hotspot/test/compiler/codegen/Test6378821.java hotspot/test/compiler/codegen/Test6431242.java hotspot/test/compiler/codegen/Test6797305.java hotspot/test/compiler/codegen/Test6814842.java hotspot/test/compiler/codegen/Test6823354.java hotspot/test/compiler/codegen/Test6875866.java hotspot/test/compiler/codegen/Test6879902.java hotspot/test/compiler/codegen/Test6896617.java hotspot/test/compiler/codegen/Test6909839.java hotspot/test/compiler/codegen/Test6935535.java hotspot/test/compiler/codegen/Test6942326.java hotspot/test/compiler/codegen/Test7009231.java hotspot/test/compiler/codegen/Test7100757.java hotspot/test/compiler/codegen/Test8005033.java hotspot/test/compiler/codegen/Test8011901.java hotspot/test/compiler/codegen/TestBooleanVect.java hotspot/test/compiler/codegen/TestByteDoubleVect.java hotspot/test/compiler/codegen/TestByteFloatVect.java hotspot/test/compiler/codegen/TestByteIntVect.java hotspot/test/compiler/codegen/TestByteLongVect.java hotspot/test/compiler/codegen/TestByteShortVect.java hotspot/test/compiler/codegen/TestByteVect.java hotspot/test/compiler/codegen/TestCharShortVect.java hotspot/test/compiler/codegen/TestCharVect.java hotspot/test/compiler/codegen/TestCharVect2.java hotspot/test/compiler/codegen/TestDoubleVect.java hotspot/test/compiler/codegen/TestFloatDoubleVect.java hotspot/test/compiler/codegen/TestFloatVect.java hotspot/test/compiler/codegen/TestIntDoubleVect.java hotspot/test/compiler/codegen/TestIntFloatVect.java hotspot/test/compiler/codegen/TestIntLongVect.java hotspot/test/compiler/codegen/TestIntVect.java hotspot/test/compiler/codegen/TestLongDoubleVect.java hotspot/test/compiler/codegen/TestLongFloatVect.java hotspot/test/compiler/codegen/TestLongVect.java hotspot/test/compiler/codegen/TestShortDoubleVect.java hotspot/test/compiler/codegen/TestShortFloatVect.java hotspot/test/compiler/codegen/TestShortIntVect.java hotspot/test/compiler/codegen/TestShortLongVect.java hotspot/test/compiler/codegen/TestShortVect.java hotspot/test/compiler/codegen/aes/TestAESBase.java hotspot/test/compiler/codegen/aes/TestAESDecode.java hotspot/test/compiler/codegen/aes/TestAESEncode.java hotspot/test/compiler/codegen/aes/TestAESMain.java hotspot/test/compiler/compilercontrol/InlineMatcherTest.java hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityBase.java hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java hotspot/test/compiler/compilercontrol/commandfile/CompileOnlyTest.java hotspot/test/compiler/compilercontrol/commandfile/ExcludeTest.java hotspot/test/compiler/compilercontrol/commandfile/LogTest.java hotspot/test/compiler/compilercontrol/commandfile/PrintTest.java hotspot/test/compiler/compilercontrol/commands/CompileOnlyTest.java hotspot/test/compiler/compilercontrol/commands/ExcludeTest.java hotspot/test/compiler/compilercontrol/commands/LogTest.java hotspot/test/compiler/compilercontrol/commands/PrintTest.java hotspot/test/compiler/compilercontrol/directives/CompileOnlyTest.java hotspot/test/compiler/compilercontrol/directives/ExcludeTest.java hotspot/test/compiler/compilercontrol/directives/LogTest.java hotspot/test/compiler/compilercontrol/directives/PrintTest.java hotspot/test/compiler/compilercontrol/jcmd/AddAndRemoveTest.java hotspot/test/compiler/compilercontrol/jcmd/AddCompileOnlyTest.java hotspot/test/compiler/compilercontrol/jcmd/AddExcludeTest.java hotspot/test/compiler/compilercontrol/jcmd/AddLogTest.java hotspot/test/compiler/compilercontrol/jcmd/AddPrintAssemblyTest.java hotspot/test/compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java hotspot/test/compiler/compilercontrol/jcmd/ClearDirectivesStackTest.java hotspot/test/compiler/compilercontrol/jcmd/PrintDirectivesTest.java hotspot/test/compiler/compilercontrol/jcmd/StressAddJcmdBase.java hotspot/test/compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java hotspot/test/compiler/compilercontrol/logcompilation/LogTest.java hotspot/test/compiler/compilercontrol/matcher/MethodMatcherTest.java hotspot/test/compiler/compilercontrol/mixed/RandomCommandsTest.java hotspot/test/compiler/compilercontrol/mixed/RandomValidCommandsTest.java hotspot/test/compiler/compilercontrol/parser/DirectiveParserTest.java hotspot/test/compiler/compilercontrol/parser/DirectiveStressTest.java hotspot/test/compiler/compilercontrol/share/AbstractTestBase.java hotspot/test/compiler/compilercontrol/share/actions/BaseAction.java hotspot/test/compiler/compilercontrol/share/actions/CompileAction.java hotspot/test/compiler/compilercontrol/share/method/MethodGenerator.java hotspot/test/compiler/compilercontrol/share/pool/MethodHolder.java hotspot/test/compiler/compilercontrol/share/pool/PoolHelper.java hotspot/test/compiler/compilercontrol/share/pool/SubMethodHolder.java hotspot/test/compiler/compilercontrol/share/pool/sub/Klass.java hotspot/test/compiler/compilercontrol/share/pool/sub/KlassDup.java hotspot/test/compiler/compilercontrol/share/pool/subpack/Klass.java hotspot/test/compiler/compilercontrol/share/pool/subpack/KlassDup.java hotspot/test/compiler/compilercontrol/share/processors/LogProcessor.java hotspot/test/compiler/compilercontrol/share/processors/PrintProcessor.java hotspot/test/compiler/compilercontrol/share/scenario/AbstractCommandBuilder.java hotspot/test/compiler/compilercontrol/share/scenario/Command.java hotspot/test/compiler/compilercontrol/share/scenario/DirectiveBuilder.java hotspot/test/compiler/compilercontrol/share/scenario/JcmdStateBuilder.java hotspot/test/compiler/compilercontrol/share/scenario/Scenario.java hotspot/test/compiler/controldependency/TestEliminatedCastPPAtPhi.java hotspot/test/compiler/cpuflags/AESIntrinsicsBase.java hotspot/test/compiler/cpuflags/RestoreMXCSR.java hotspot/test/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java hotspot/test/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java hotspot/test/compiler/cpuflags/TestSSE4Disabled.java hotspot/test/compiler/cpuflags/predicate/AESSupportPredicate.java hotspot/test/compiler/debug/TraceIterativeGVN.java hotspot/test/compiler/debug/VerifyAdapterSharing.java hotspot/test/compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java hotspot/test/compiler/eliminateAutobox/6934604/TestByteBoxing.java hotspot/test/compiler/eliminateAutobox/6934604/TestDoubleBoxing.java hotspot/test/compiler/eliminateAutobox/6934604/TestFloatBoxing.java hotspot/test/compiler/eliminateAutobox/6934604/TestIntBoxing.java hotspot/test/compiler/eliminateAutobox/6934604/TestLongBoxing.java hotspot/test/compiler/eliminateAutobox/6934604/TestShortBoxing.java hotspot/test/compiler/eliminateAutobox/TestByteBoxing.java hotspot/test/compiler/eliminateAutobox/TestDoubleBoxing.java hotspot/test/compiler/eliminateAutobox/TestFloatBoxing.java hotspot/test/compiler/eliminateAutobox/TestIntBoxing.java hotspot/test/compiler/eliminateAutobox/TestLongBoxing.java hotspot/test/compiler/eliminateAutobox/TestShortBoxing.java hotspot/test/compiler/eliminateAutobox/UnsignedLoads.java hotspot/test/compiler/escapeAnalysis/6689060/Test.java hotspot/test/compiler/escapeAnalysis/6716441/Tester.java hotspot/test/compiler/escapeAnalysis/6726999/Test.java hotspot/test/compiler/escapeAnalysis/6775880/Test.java hotspot/test/compiler/escapeAnalysis/6795161/Test.java hotspot/test/compiler/escapeAnalysis/6895383/Test.java hotspot/test/compiler/escapeAnalysis/6896727/Test.java hotspot/test/compiler/escapeAnalysis/Test6689060.java hotspot/test/compiler/escapeAnalysis/Test6726999.java hotspot/test/compiler/escapeAnalysis/Test6775880.java hotspot/test/compiler/escapeAnalysis/Test6895383.java hotspot/test/compiler/escapeAnalysis/Test6896727.java hotspot/test/compiler/escapeAnalysis/Test8020215.java hotspot/test/compiler/escapeAnalysis/TestAllocatedEscapesPtrComparison.java hotspot/test/compiler/escapeAnalysis/TestEABadMergeMem.java hotspot/test/compiler/escapeAnalysis/TestEscapeThroughInvoke.java hotspot/test/compiler/escapeAnalysis/TestUnsafePutAddressNullObjMustNotEscape.java hotspot/test/compiler/escapeAnalysis/cr6716441/Tester.java hotspot/test/compiler/escapeAnalysis/cr6795161/Test.java hotspot/test/compiler/exceptions/CatchInlineExceptions.java hotspot/test/compiler/exceptions/SumTest.java hotspot/test/compiler/exceptions/TestRecursiveReplacedException.java hotspot/test/compiler/floatingpoint/ModNaN.java hotspot/test/compiler/floatingpoint/NaNTest.java hotspot/test/compiler/floatingpoint/Test15FloatJNIArgs.java hotspot/test/compiler/floatingpoint/TestPow2.java hotspot/test/compiler/floatingpoint/libTest15FloatJNIArgs.c hotspot/test/compiler/gcbarriers/G1CrashTest.java hotspot/test/compiler/gcbarriers/PreserveFPRegistersTest.java hotspot/test/compiler/inlining/DefaultAndConcreteMethodsCHA.java hotspot/test/compiler/inlining/DefaultMethodsDependencies.java hotspot/test/compiler/inlining/InlineAccessors.java hotspot/test/compiler/inlining/InlineDefaultMethod.java hotspot/test/compiler/inlining/InlineDefaultMethod1.java hotspot/test/compiler/integerArithmetic/TestIntegerComparison.java hotspot/test/compiler/interpreter/6539464/Test.java hotspot/test/compiler/interpreter/6833129/Test.java hotspot/test/compiler/interpreter/7116216/LargeFrame.java hotspot/test/compiler/interpreter/7116216/StackOverflow.java hotspot/test/compiler/interpreter/DisableOSRTest.java hotspot/test/compiler/interpreter/Test6539464.java hotspot/test/compiler/interpreter/Test6833129.java hotspot/test/compiler/interpreter/cr7116216/LargeFrame.java hotspot/test/compiler/interpreter/cr7116216/StackOverflow.java hotspot/test/compiler/intrinsics/6982370/Test6982370.java hotspot/test/compiler/intrinsics/8005419/Test8005419.java hotspot/test/compiler/intrinsics/IntrinsicAvailableTest.java hotspot/test/compiler/intrinsics/IntrinsicDisabledTest.java hotspot/test/compiler/intrinsics/Test6982370.java hotspot/test/compiler/intrinsics/Test8005419.java hotspot/test/compiler/intrinsics/adler32/TestAdler32.java hotspot/test/compiler/intrinsics/bigInteger/MontgomeryMultiplyTest.java hotspot/test/compiler/intrinsics/bigInteger/TestMulAdd.java hotspot/test/compiler/intrinsics/bigInteger/TestMultiplyToLen.java hotspot/test/compiler/intrinsics/bigInteger/TestMultiplyToLenReturnProfile.java hotspot/test/compiler/intrinsics/bigInteger/TestSquareToLen.java hotspot/test/compiler/intrinsics/bmi/BMITestRunner.java hotspot/test/compiler/intrinsics/bmi/Expr.java hotspot/test/compiler/intrinsics/bmi/TestAndnI.java hotspot/test/compiler/intrinsics/bmi/TestAndnL.java hotspot/test/compiler/intrinsics/bmi/TestBlsiI.java hotspot/test/compiler/intrinsics/bmi/TestBlsiL.java hotspot/test/compiler/intrinsics/bmi/TestBlsmskI.java hotspot/test/compiler/intrinsics/bmi/TestBlsmskL.java hotspot/test/compiler/intrinsics/bmi/TestBlsrI.java hotspot/test/compiler/intrinsics/bmi/TestBlsrL.java hotspot/test/compiler/intrinsics/bmi/TestLzcntI.java hotspot/test/compiler/intrinsics/bmi/TestLzcntL.java hotspot/test/compiler/intrinsics/bmi/TestTzcntI.java hotspot/test/compiler/intrinsics/bmi/TestTzcntL.java hotspot/test/compiler/intrinsics/bmi/verifycode/AndnTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/AndnTestL.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsiTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsiTestL.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsmskTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsmskTestL.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsrTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/BlsrTestL.java hotspot/test/compiler/intrinsics/bmi/verifycode/BmiIntrinsicBase.java hotspot/test/compiler/intrinsics/bmi/verifycode/LZcntTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/LZcntTestL.java hotspot/test/compiler/intrinsics/bmi/verifycode/TZcntTestI.java hotspot/test/compiler/intrinsics/bmi/verifycode/TZcntTestL.java hotspot/test/compiler/intrinsics/class/TestClassIsPrimitive.java hotspot/test/compiler/intrinsics/classcast/NullCheckDroppingsTest.java hotspot/test/compiler/intrinsics/clone/TestObjectClone.java hotspot/test/compiler/intrinsics/crc32/TestCRC32.java hotspot/test/compiler/intrinsics/crc32c/TestCRC32C.java hotspot/test/compiler/intrinsics/hashcode/TestHashCode.java hotspot/test/compiler/intrinsics/klass/CastNullCheckDroppingsTest.java hotspot/test/compiler/intrinsics/klass/TestIsPrimitive.java hotspot/test/compiler/intrinsics/mathexact/AddExactICondTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactIConstantTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactILoadTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactILoopDependentTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactINonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactIRepeatTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactLConstantTest.java hotspot/test/compiler/intrinsics/mathexact/AddExactLNonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/CompareTest.java hotspot/test/compiler/intrinsics/mathexact/DecExactITest.java hotspot/test/compiler/intrinsics/mathexact/DecExactLTest.java hotspot/test/compiler/intrinsics/mathexact/GVNTest.java hotspot/test/compiler/intrinsics/mathexact/IncExactITest.java hotspot/test/compiler/intrinsics/mathexact/IncExactLTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactICondTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactIConstantTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactILoadTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactILoopDependentTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactINonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactIRepeatTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactLConstantTest.java hotspot/test/compiler/intrinsics/mathexact/MulExactLNonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactIConstantTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactILoadTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactILoopDependentTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactINonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactLConstantTest.java hotspot/test/compiler/intrinsics/mathexact/NegExactLNonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/NestedMathExactTest.java hotspot/test/compiler/intrinsics/mathexact/SplitThruPhiTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactICondTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactIConstantTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactILoadTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactILoopDependentTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactINonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactIRepeatTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactLConstantTest.java hotspot/test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java hotspot/test/compiler/intrinsics/mathexact/Verify.java hotspot/test/compiler/intrinsics/mathexact/sanity/AddExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/AddExactLongTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/DecrementExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/DecrementExactLongTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/IncrementExactLongTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/IntrinsicBase.java hotspot/test/compiler/intrinsics/mathexact/sanity/MathIntrinsic.java hotspot/test/compiler/intrinsics/mathexact/sanity/MultiplyExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/MultiplyExactLongTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/NegateExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/NegateExactLongTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java hotspot/test/compiler/intrinsics/mathexact/sanity/SubtractExactLongTest.java hotspot/test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java hotspot/test/compiler/intrinsics/muladd/TestMulAdd.java hotspot/test/compiler/intrinsics/multiplytolen/TestMultiplyToLen.java hotspot/test/compiler/intrinsics/multiplytolen/TestMultiplyToLenReturnProfile.java hotspot/test/compiler/intrinsics/object/TestClone.java hotspot/test/compiler/intrinsics/object/TestHashCode.java hotspot/test/compiler/intrinsics/sha/TestSHA.java hotspot/test/compiler/intrinsics/sha/cli/SHAOptionsBase.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedAArch64CPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedSparcCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedX86CPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/UseSHASpecificTestCaseForSupportedCPU.java hotspot/test/compiler/intrinsics/sha/cli/testcases/UseSHASpecificTestCaseForUnsupportedCPU.java hotspot/test/compiler/intrinsics/sha/sanity/SHASanityTestBase.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java hotspot/test/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java hotspot/test/compiler/intrinsics/squaretolen/TestSquareToLen.java hotspot/test/compiler/intrinsics/string/TestHasNegatives.java hotspot/test/compiler/intrinsics/string/TestStringConstruction.java hotspot/test/compiler/intrinsics/string/TestStringEqualsBadLength.java hotspot/test/compiler/intrinsics/string/TestStringIntrinsicMemoryFlow.java hotspot/test/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.java hotspot/test/compiler/intrinsics/string/TestStringIntrinsics.java hotspot/test/compiler/intrinsics/string/TestStringIntrinsics2.java hotspot/test/compiler/intrinsics/stringequals/TestStringEqualsBadLength.java hotspot/test/compiler/intrinsics/unsafe/AllocateUninitializedArray.java hotspot/test/compiler/intrinsics/unsafe/HeapByteBufferTest.java hotspot/test/compiler/intrinsics/unsafe/TestUnsafeMismatchedArrayFieldAccess.java hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java hotspot/test/compiler/intrinsics/unsafe/UnsafeGetAddressTest.java hotspot/test/compiler/intrinsics/unsafe/UnsafeTwoCASLong.java hotspot/test/compiler/intrinsics/zip/TestAdler32.java hotspot/test/compiler/intrinsics/zip/TestCRC32.java hotspot/test/compiler/intrinsics/zip/TestCRC32C.java hotspot/test/compiler/jsr292/6990212/Test6990212.java hotspot/test/compiler/jsr292/7082949/Test7082949.java hotspot/test/compiler/jsr292/CallSiteDepContextTest.java hotspot/test/compiler/jsr292/ConcurrentClassLoadingTest.java hotspot/test/compiler/jsr292/ContinuousCallSiteTargetChange.java hotspot/test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java hotspot/test/compiler/jsr292/InvokerGC.java hotspot/test/compiler/jsr292/LongReferenceCastingTest.java hotspot/test/compiler/jsr292/MHInlineTest.java hotspot/test/compiler/jsr292/NonInlinedCall/Agent.java hotspot/test/compiler/jsr292/NonInlinedCall/GCTest.java hotspot/test/compiler/jsr292/NonInlinedCall/InvokeTest.java hotspot/test/compiler/jsr292/NonInlinedCall/RedefineTest.java hotspot/test/compiler/jsr292/NullConstantReceiver.java hotspot/test/compiler/jsr292/PollutedTrapCounts.java hotspot/test/compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java hotspot/test/compiler/jsr292/Test7082949.java hotspot/test/compiler/jsr292/VMAnonymousClasses.java hotspot/test/compiler/jsr292/cr6990212/Test6990212.java hotspot/test/compiler/jsr292/methodHandleExceptions/ByteClassLoader.java hotspot/test/compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/C.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/Dok.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/E.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/F.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/Tdirect.java hotspot/test/compiler/jsr292/methodHandleExceptions/p/Treflect.java hotspot/test/compiler/jvmci/JVM_GetJVMCIRuntimeTest.java hotspot/test/compiler/jvmci/SecurityRestrictionsTest.java hotspot/test/compiler/jvmci/common/CTVMUtilities.java hotspot/test/compiler/jvmci/common/JVMCIHelpers.java hotspot/test/compiler/jvmci/common/patches/jdk.vm.ci/jdk/vm/ci/hotspot/CompilerToVMHelper.java hotspot/test/compiler/jvmci/common/testcases/TestCase.java hotspot/test/compiler/jvmci/compilerToVM/AllocateCompileIdTest.java hotspot/test/compiler/jvmci/compilerToVM/CanInlineMethodTest.java hotspot/test/compiler/jvmci/compilerToVM/CollectCountersTest.java hotspot/test/compiler/jvmci/compilerToVM/CompileCodeTestCase.java hotspot/test/compiler/jvmci/compilerToVM/ConstantPoolTestCase.java hotspot/test/compiler/jvmci/compilerToVM/ConstantPoolTestsHelper.java hotspot/test/compiler/jvmci/compilerToVM/DebugOutputTest.java hotspot/test/compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java hotspot/test/compiler/jvmci/compilerToVM/DoNotInlineOrCompileTest.java hotspot/test/compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java hotspot/test/compiler/jvmci/compilerToVM/FindUniqueConcreteMethodTest.java hotspot/test/compiler/jvmci/compilerToVM/GetBytecodeTest.java hotspot/test/compiler/jvmci/compilerToVM/GetClassInitializerTest.java hotspot/test/compiler/jvmci/compilerToVM/GetConstantPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/GetExceptionTableTest.java hotspot/test/compiler/jvmci/compilerToVM/GetImplementorTest.java hotspot/test/compiler/jvmci/compilerToVM/GetLineNumberTableTest.java hotspot/test/compiler/jvmci/compilerToVM/GetLocalVariableTableTest.java hotspot/test/compiler/jvmci/compilerToVM/GetMaxCallTargetOffsetTest.java hotspot/test/compiler/jvmci/compilerToVM/GetNextStackFrameTest.java hotspot/test/compiler/jvmci/compilerToVM/GetResolvedJavaMethodAtSlotTest.java hotspot/test/compiler/jvmci/compilerToVM/GetResolvedJavaMethodTest.java hotspot/test/compiler/jvmci/compilerToVM/GetResolvedJavaTypeTest.java hotspot/test/compiler/jvmci/compilerToVM/GetStackTraceElementTest.java hotspot/test/compiler/jvmci/compilerToVM/GetSymbolTest.java hotspot/test/compiler/jvmci/compilerToVM/GetVtableIndexForInterfaceTest.java hotspot/test/compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java hotspot/test/compiler/jvmci/compilerToVM/HasFinalizableSubclassTest.java hotspot/test/compiler/jvmci/compilerToVM/InitializeConfigurationTest.java hotspot/test/compiler/jvmci/compilerToVM/InvalidateInstalledCodeTest.java hotspot/test/compiler/jvmci/compilerToVM/IsMatureTest.java hotspot/test/compiler/jvmci/compilerToVM/JVM_RegisterJVMCINatives.java hotspot/test/compiler/jvmci/compilerToVM/LookupKlassInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupKlassRefIndexInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupMethodInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupNameAndTypeRefIndexInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupNameInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupSignatureInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/LookupTypeTest.java hotspot/test/compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hotspot/test/compiler/jvmci/compilerToVM/MethodIsIgnoredBySecurityStackWalkTest.java hotspot/test/compiler/jvmci/compilerToVM/ReprofileTest.java hotspot/test/compiler/jvmci/compilerToVM/ResolveConstantInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/ResolveFieldInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/ResolveMethodTest.java hotspot/test/compiler/jvmci/compilerToVM/ResolvePossiblyCachedConstantInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/ResolveTypeInPoolTest.java hotspot/test/compiler/jvmci/compilerToVM/ShouldDebugNonSafepointsTest.java hotspot/test/compiler/jvmci/compilerToVM/ShouldInlineMethodTest.java hotspot/test/compiler/jvmci/errors/CodeInstallerTest.java hotspot/test/compiler/jvmci/errors/TestInvalidCompilationResult.java hotspot/test/compiler/jvmci/errors/TestInvalidDebugInfo.java hotspot/test/compiler/jvmci/errors/TestInvalidOopMap.java hotspot/test/compiler/jvmci/events/JvmciNotifyInstallEventTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DebugInfoTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/TestAssembler.java hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/AsJavaTypeDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/BoxPrimitiveDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ConstantEqualsDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ForStringDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotConstantReflectionProviderTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/IsEmbeddableDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MemoryAccessProviderData.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MemoryAccessProviderTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MethodHandleAccessProviderData.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/MethodHandleAccessProviderTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ReadArrayElementDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ReadArrayLengthDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ReadFieldValueDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestHelper.java hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/UnboxPrimitiveDataProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ConstantTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/FieldUniverse.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/MethodUniverse.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/NameAndSignature.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/RedefineClassTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ResolvedJavaTypeResolveConcreteMethodTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ResolvedJavaTypeResolveMethodTest.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestConstantReflectionProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaField.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaMethod.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestJavaType.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestMetaAccessProvider.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaField.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaMethod.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TypeUniverse.java hotspot/test/compiler/jvmci/meta/StableFieldTest.java hotspot/test/compiler/linkage/CallSites.jasm hotspot/test/compiler/linkage/LinkageErrors.java hotspot/test/compiler/loopopts/6659207/Test.java hotspot/test/compiler/loopopts/6855164/Test.java hotspot/test/compiler/loopopts/6860469/Test.java hotspot/test/compiler/loopopts/7044738/Test7044738.java hotspot/test/compiler/loopopts/7052494/Test7052494.java hotspot/test/compiler/loopopts/BadPredicateAfterPartialPeel.java hotspot/test/compiler/loopopts/ConstFPVectorization.java hotspot/test/compiler/loopopts/CountedLoopProblem.java hotspot/test/compiler/loopopts/Test6659207.java hotspot/test/compiler/loopopts/Test6855164.java hotspot/test/compiler/loopopts/Test6860469.java hotspot/test/compiler/loopopts/Test7044738.java hotspot/test/compiler/loopopts/Test7052494.java hotspot/test/compiler/loopopts/TestArraysFillDeadControl.java hotspot/test/compiler/loopopts/TestCastIINoLoopLimitCheck.java hotspot/test/compiler/loopopts/TestDeadBackbranchArrayAccess.java hotspot/test/compiler/loopopts/TestLogSum.java hotspot/test/compiler/loopopts/TestLoopPeeling.java hotspot/test/compiler/loopopts/TestMoveStoresOutOfLoops.java hotspot/test/compiler/loopopts/TestMoveStoresOutOfLoopsStoreNoCtrl.java hotspot/test/compiler/loopopts/TestOverunrolling.java hotspot/test/compiler/loopopts/TestPredicateLostDependency.java hotspot/test/compiler/loopopts/TestSplitIfBlocksDisabled.java hotspot/test/compiler/loopopts/TestSplitIfUnswitchedLoopsEliminated.java hotspot/test/compiler/loopopts/UseCountedLoopSafepoints.java hotspot/test/compiler/loopopts/superword/ProdRed_Double.java hotspot/test/compiler/loopopts/superword/ProdRed_Float.java hotspot/test/compiler/loopopts/superword/ProdRed_Int.java hotspot/test/compiler/loopopts/superword/ReductionPerf.java hotspot/test/compiler/loopopts/superword/SumRedAbsNeg_Double.java hotspot/test/compiler/loopopts/superword/SumRedAbsNeg_Float.java hotspot/test/compiler/loopopts/superword/SumRedSqrt_Double.java hotspot/test/compiler/loopopts/superword/SumRed_Double.java hotspot/test/compiler/loopopts/superword/SumRed_Float.java hotspot/test/compiler/loopopts/superword/SumRed_Int.java hotspot/test/compiler/loopopts/superword/SumRed_Long.java hotspot/test/compiler/loopopts/superword/TestBestAlign.java hotspot/test/compiler/loopopts/superword/TestReductionWithLoopVariantUse.java hotspot/test/compiler/loopopts/superword/TestVectorizationWithInvariant.java hotspot/test/compiler/macronodes/TestEliminateAllocationPhi.java hotspot/test/compiler/membars/DekkerTest.java hotspot/test/compiler/membars/TestMemBarAcquire.java hotspot/test/compiler/memoryinitialization/ZeroTLABTest.java hotspot/test/compiler/native/TestDirtyInt.java hotspot/test/compiler/native/libTestDirtyInt.c hotspot/test/compiler/onSpinWait/TestOnSpinWait.java hotspot/test/compiler/onSpinWait/TestOnSpinWaitEnableDisable.java hotspot/test/compiler/oracle/CheckCompileCommandOption.java hotspot/test/compiler/oracle/GetMethodOptionTest.java hotspot/test/compiler/oracle/MethodMatcherTest.java hotspot/test/compiler/oracle/TestCompileCommand.java hotspot/test/compiler/osr/TestOSRWithNonEmptyStack.java hotspot/test/compiler/osr/TestRangeCheck.java hotspot/test/compiler/print/PrintInlining.java hotspot/test/compiler/print/TestProfileReturnTypePrinting.java hotspot/test/compiler/profiling/TestMethodHandleInvokesIntrinsic.java hotspot/test/compiler/profiling/TestSpecTrapClassUnloading.java hotspot/test/compiler/profiling/TestUnexpectedProfilingMismatch.java hotspot/test/compiler/profiling/UnsafeAccess.java hotspot/test/compiler/profiling/spectrapredefineclass/Agent.java hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/A.java hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/Agent.java hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/B.java hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/Test.java hotspot/test/compiler/profiling/unloadingconflict/B.java hotspot/test/compiler/profiling/unloadingconflict/TestProfileConflictClassUnloading.java hotspot/test/compiler/rangechecks/PowerOf2SizedArraysChecks.java hotspot/test/compiler/rangechecks/TestBadFoldCompare.java hotspot/test/compiler/rangechecks/TestExplicitRangeChecks.java hotspot/test/compiler/rangechecks/TestRangeCheckEliminationDisabled.java hotspot/test/compiler/rangechecks/TestRangeCheckExceptionHandlerLoop.jasm hotspot/test/compiler/rangechecks/TestRangeCheckExceptionHandlerLoopMain.java hotspot/test/compiler/rangechecks/TestRangeCheckSmearing.java hotspot/test/compiler/rangechecks/TestRangeCheckSmearingLoopOpts.java hotspot/test/compiler/rangechecks/TestUncommonTrapMerging.java hotspot/test/compiler/reflection/ArrayNewInstanceOfVoid.java hotspot/test/compiler/regalloc/C1ObjectSpillInLogicOp.java hotspot/test/compiler/regalloc/TestVectorRegAlloc.java hotspot/test/compiler/relocations/TestPrintRelocations.java hotspot/test/compiler/rtm/cli/RTMGenericCommandLineOptionTest.java hotspot/test/compiler/rtm/cli/RTMLockingAwareTest.java hotspot/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsBase.java hotspot/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java hotspot/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java hotspot/test/compiler/rtm/cli/TestRTMAbortThresholdOption.java hotspot/test/compiler/rtm/cli/TestRTMLockingCalculationDelayOption.java hotspot/test/compiler/rtm/cli/TestRTMLockingThresholdOption.java hotspot/test/compiler/rtm/cli/TestRTMRetryCountOption.java hotspot/test/compiler/rtm/cli/TestRTMSpinLoopCountOption.java hotspot/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java hotspot/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java hotspot/test/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java hotspot/test/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java hotspot/test/compiler/rtm/cli/TestUseRTMXendForLockBusyOption.java hotspot/test/compiler/rtm/locking/TestRTMAbortRatio.java hotspot/test/compiler/rtm/locking/TestRTMAbortThreshold.java hotspot/test/compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java hotspot/test/compiler/rtm/locking/TestRTMDeoptOnHighAbortRatio.java hotspot/test/compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java hotspot/test/compiler/rtm/locking/TestRTMLockingCalculationDelay.java hotspot/test/compiler/rtm/locking/TestRTMLockingThreshold.java hotspot/test/compiler/rtm/locking/TestRTMRetryCount.java hotspot/test/compiler/rtm/locking/TestRTMSpinLoopCount.java hotspot/test/compiler/rtm/locking/TestRTMTotalCountIncrRate.java hotspot/test/compiler/rtm/locking/TestUseRTMAfterLockInflation.java hotspot/test/compiler/rtm/locking/TestUseRTMDeopt.java hotspot/test/compiler/rtm/locking/TestUseRTMForInflatedLocks.java hotspot/test/compiler/rtm/locking/TestUseRTMForStackLocks.java hotspot/test/compiler/rtm/locking/TestUseRTMXendForLockBusy.java hotspot/test/compiler/rtm/method_options/TestNoRTMLockElidingOption.java hotspot/test/compiler/rtm/method_options/TestUseRTMLockElidingOption.java hotspot/test/compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java hotspot/test/compiler/runtime/6778657/Test.java hotspot/test/compiler/runtime/6826736/Test.java hotspot/test/compiler/runtime/6859338/Test6859338.java hotspot/test/compiler/runtime/6863420/Test.java hotspot/test/compiler/runtime/6865265/StackOverflowBug.java hotspot/test/compiler/runtime/6891750/Test6891750.java hotspot/test/compiler/runtime/6892265/Test.java hotspot/test/compiler/runtime/7088020/Test7088020.java hotspot/test/compiler/runtime/7141637/SpreadNullArg.java hotspot/test/compiler/runtime/7196199/Test7196199.java hotspot/test/compiler/runtime/8010927/Test8010927.java hotspot/test/compiler/runtime/8015436/Test8015436.java hotspot/test/compiler/runtime/SpreadNullArg.java hotspot/test/compiler/runtime/StackOverflowBug.java hotspot/test/compiler/runtime/Test6778657.java hotspot/test/compiler/runtime/Test6826736.java hotspot/test/compiler/runtime/Test6859338.java hotspot/test/compiler/runtime/Test6863420.java hotspot/test/compiler/runtime/Test6892265.java hotspot/test/compiler/runtime/Test7088020.java hotspot/test/compiler/runtime/Test7196199.java hotspot/test/compiler/runtime/Test8010927.java hotspot/test/compiler/runtime/cr6891750/Test6891750.java hotspot/test/compiler/runtime/cr8015436/Test8015436.java hotspot/test/compiler/runtime/safepoints/TestRegisterRestoring.java hotspot/test/compiler/stable/StableConfiguration.java hotspot/test/compiler/stable/TestStableBoolean.java hotspot/test/compiler/stable/TestStableByte.java hotspot/test/compiler/stable/TestStableChar.java hotspot/test/compiler/stable/TestStableDouble.java hotspot/test/compiler/stable/TestStableFloat.java hotspot/test/compiler/stable/TestStableInt.java hotspot/test/compiler/stable/TestStableLong.java hotspot/test/compiler/stable/TestStableMemoryBarrier.java hotspot/test/compiler/stable/TestStableMismatched.java hotspot/test/compiler/stable/TestStableObject.java hotspot/test/compiler/stable/TestStableShort.java hotspot/test/compiler/stable/TestStableUByte.java hotspot/test/compiler/stable/TestStableUShort.java hotspot/test/compiler/startup/NumCompilerThreadsCheck.java hotspot/test/compiler/startup/SmallCodeCacheStartup.java hotspot/test/compiler/startup/StartupOutput.java hotspot/test/compiler/startup/TieredStopAtLevel0SanityTest.java hotspot/test/compiler/stringopts/TestOptimizeStringConcat.java hotspot/test/compiler/stringopts/TestStringObjectInitialization.java hotspot/test/compiler/testlibrary/CompilerUtils.java hotspot/test/compiler/testlibrary/rtm/AbortProvoker.java hotspot/test/compiler/testlibrary/rtm/RTMLockingStatistics.java hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java hotspot/test/compiler/testlibrary/rtm/XAbortProvoker.java hotspot/test/compiler/testlibrary/rtm/predicate/SupportedCPU.java hotspot/test/compiler/testlibrary/uncommontrap/Verifier.java hotspot/test/compiler/tiered/CompLevelsTest.java hotspot/test/compiler/tiered/ConstantGettersTransitionsTest.java hotspot/test/compiler/tiered/LevelTransitionTest.java hotspot/test/compiler/tiered/NonTieredLevelsTest.java hotspot/test/compiler/tiered/TieredLevelsTest.java hotspot/test/compiler/tiered/TransitionsTestExecutor.java hotspot/test/compiler/types/TestMeetExactConstantArrays.java hotspot/test/compiler/types/TestMeetIncompatibleInterfaceArrays.java hotspot/test/compiler/types/TestMeetTopArrayExactConstantArray.java hotspot/test/compiler/types/TestPhiElimination.java hotspot/test/compiler/types/TestSpeculationFailedHigherEqual.java hotspot/test/compiler/types/TestTypePropagationToCmpU.java hotspot/test/compiler/types/TypeSpeculation.java hotspot/test/compiler/types/correctness/CorrectnessTest.java hotspot/test/compiler/types/correctness/OffTest.java hotspot/test/compiler/types/correctness/execution/Execution.java hotspot/test/compiler/types/correctness/execution/MethodHandleDelegate.java hotspot/test/compiler/types/correctness/execution/TypeConflict.java hotspot/test/compiler/types/correctness/execution/TypeProfile.java hotspot/test/compiler/types/correctness/hierarchies/DefaultMethodInterface.java hotspot/test/compiler/types/correctness/hierarchies/DefaultMethodInterface2.java hotspot/test/compiler/types/correctness/hierarchies/Linear.java hotspot/test/compiler/types/correctness/hierarchies/Linear2.java hotspot/test/compiler/types/correctness/hierarchies/NullableType.java hotspot/test/compiler/types/correctness/hierarchies/OneRank.java hotspot/test/compiler/types/correctness/hierarchies/TypeHierarchy.java hotspot/test/compiler/types/correctness/scenarios/ArrayCopy.java hotspot/test/compiler/types/correctness/scenarios/ArrayReferenceStore.java hotspot/test/compiler/types/correctness/scenarios/ArrayScenario.java hotspot/test/compiler/types/correctness/scenarios/CheckCast.java hotspot/test/compiler/types/correctness/scenarios/ClassIdentity.java hotspot/test/compiler/types/correctness/scenarios/ClassInstanceOf.java hotspot/test/compiler/types/correctness/scenarios/ClassIsInstance.java hotspot/test/compiler/types/correctness/scenarios/ProfilingType.java hotspot/test/compiler/types/correctness/scenarios/ReceiverAtInvokes.java hotspot/test/compiler/types/correctness/scenarios/Scenario.java hotspot/test/compiler/uncommontrap/8009761/Test8009761.java hotspot/test/compiler/uncommontrap/DeoptReallocFailure.java hotspot/test/compiler/uncommontrap/StackOverflowGuardPagesOff.java hotspot/test/compiler/uncommontrap/Test8009761.java hotspot/test/compiler/uncommontrap/TestDeoptOOM.java hotspot/test/compiler/uncommontrap/TestLockEliminatedAtDeopt.java hotspot/test/compiler/uncommontrap/TestStackBangMonitorOwned.java hotspot/test/compiler/uncommontrap/TestStackBangRbp.java hotspot/test/compiler/uncommontrap/TestUnstableIfTrap.java hotspot/test/compiler/uncommontrap/TraceDeoptimizationNoRealloc.java hotspot/test/compiler/uncommontrap/UncommonTrapStackBang.java hotspot/test/compiler/unsafe/GetUnsafeObjectG1PreBarrier.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestBoolean.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestByte.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestChar.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestDouble.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestInt.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestLong.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestObject.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort.java hotspot/test/compiler/unsafe/JdkInternalMiscUnsafeUnalignedAccess.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestBoolean.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestByte.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestChar.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestDouble.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestInt.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestLong.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestShort.java hotspot/test/compiler/unsafe/TestUnsafeLoadControl.java hotspot/test/compiler/unsafe/UnsafeGetConstantField.java hotspot/test/compiler/unsafe/UnsafeGetStableArrayElement.java hotspot/test/compiler/unsafe/UnsafeRaw.java hotspot/test/compiler/unsafe/X-UnsafeAccessTest.java.template hotspot/test/compiler/vectorization/TestNaNVector.java hotspot/test/compiler/vectorization/TestVectorUnalignedOffset.java hotspot/test/compiler/whitebox/AllocationCodeBlobTest.java hotspot/test/compiler/whitebox/BlockingCompilation.java hotspot/test/compiler/whitebox/ClearMethodStateTest.java hotspot/test/compiler/whitebox/CompilerWhiteBoxTest.java hotspot/test/compiler/whitebox/DeoptimizeAllTest.java hotspot/test/compiler/whitebox/DeoptimizeFramesTest.java hotspot/test/compiler/whitebox/DeoptimizeMethodTest.java hotspot/test/compiler/whitebox/DeoptimizeMultipleOSRTest.java hotspot/test/compiler/whitebox/EnqueueMethodForCompilationTest.java hotspot/test/compiler/whitebox/ForceNMethodSweepTest.java hotspot/test/compiler/whitebox/GetCodeHeapEntriesTest.java hotspot/test/compiler/whitebox/GetNMethodTest.java hotspot/test/compiler/whitebox/IsMethodCompilableTest.java hotspot/test/compiler/whitebox/LockCompilationTest.java hotspot/test/compiler/whitebox/MakeMethodNotCompilableTest.java hotspot/test/compiler/whitebox/SetDontInlineMethodTest.java hotspot/test/compiler/whitebox/SetForceInlineMethodTest.java hotspot/test/compiler/whitebox/SimpleTestCase.java
diffstat 1173 files changed, 173057 insertions(+), 169788 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/make/test/JtregNative.gmk	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/make/test/JtregNative.gmk	Tue Jul 12 18:24:48 2016 +0300
@@ -50,7 +50,6 @@
     $(HOTSPOT_TOPDIR)/test/runtime/BoolReturn \
     $(HOTSPOT_TOPDIR)/test/compiler/floatingpoint/ \
     $(HOTSPOT_TOPDIR)/test/compiler/calls \
-    $(HOTSPOT_TOPDIR)/test/compiler/native \
     $(HOTSPOT_TOPDIR)/test/serviceability/jvmti/GetNamedModule \
     $(HOTSPOT_TOPDIR)/test/testlibrary/jvmti \
     #
--- a/hotspot/test/TEST.groups	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/TEST.groups	Tue Jul 12 18:24:48 2016 +0300
@@ -130,8 +130,8 @@
 # Tests that require the full JRE
 #
 needs_jre = \
-  compiler/c2/6852078/Test6852078.java \
-  compiler/c2/7047069/Test7047069.java \
+  compiler/c2/Test6852078.java \
+  compiler/c2/Test7047069.java \
   runtime/6294277/SourceDebugExtension.java \
   runtime/ClassFile/JsrRewriting.java \
   runtime/ClassFile/OomWhileParsingRepeatedJsr.java \
@@ -277,16 +277,16 @@
   compiler/arraycopy/ \
   compiler/c1/ \
   compiler/c2/ \
-  -compiler/c2/5091921/Test6850611.java \
-  -compiler/c2/5091921/Test6890943.java \
-  -compiler/c2/5091921/Test6905845.java \
-  -compiler/c2/6340864 \
-  -compiler/c2/6589834 \
-  -compiler/c2/6603011 \
-  -compiler/c2/6912517 \
-  -compiler/c2/6792161 \
-  -compiler/c2/7070134 \
-  -compiler/c2/8004867
+  -compiler/c2/Test6850611.java \
+  -compiler/c2/cr6890943/Test6890943.java \
+  -compiler/c2/Test6905845.java \
+  -compiler/c2/cr6340864 \
+  -compiler/c2/cr6589834 \
+  -compiler/c2/cr8004867
+  -compiler/c2/stemmer \
+  -compiler/c2/Test6792161.java \
+  -compiler/c2/Test6603011.java \
+  -compiler/c2/Test6912517.java \
 
 hotspot_fast_compiler_2 = \
   compiler/classUnloading/ \
@@ -303,7 +303,7 @@
   compiler/integerArithmetic/ \
   compiler/interpreter/ \
   compiler/jvmci/ \
-  -compiler/codegen/7184394 \
+  -compiler/codegen/aes \
   -compiler/codecache/stress \
   -compiler/gcbarriers/PreserveFPRegistersTest.java
 
@@ -320,13 +320,13 @@
   compiler/types/ \
   compiler/uncommontrap/ \
   compiler/unsafe/ \
-  -compiler/intrinsics/adler32 \
   -compiler/intrinsics/bmi \
   -compiler/intrinsics/mathexact \
-  -compiler/intrinsics/multiplytolen \
   -compiler/intrinsics/sha \
-  -compiler/loopopts/7052494 \
-  -compiler/runtime/6826736
+  -compiler/intrinsics/bigInteger/TestMultiplyToLen.java \
+  -compiler/intrinsics/zip/TestAdler32.java \
+  -compiler/loopopts/Test7052494.java \
+  -compiler/runtime/Test6826736.java
 
 hotspot_fast_compiler_closed = \
   sanity/ExecuteInternalVMTests.java
--- a/hotspot/test/compiler/arguments/BMICommandLineOptionTestBase.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/BMICommandLineOptionTestBase.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,7 +21,10 @@
  * questions.
  */
 
-import jdk.test.lib.cli.*;
+package compiler.arguments;
+
+import jdk.test.lib.cli.CPUSpecificCommandLineOptionTest;
+import jdk.test.lib.cli.CommandLineOptionTest;
 
 /**
  * Base class for all X86 bit manipulation related command line options.
--- a/hotspot/test/compiler/arguments/BMISupportedCPUTest.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/BMISupportedCPUTest.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,8 +21,10 @@
  * questions.
  */
 
-import jdk.test.lib.*;
-import jdk.test.lib.cli.*;
+package compiler.arguments;
+
+import jdk.test.lib.ExitCode;
+import jdk.test.lib.cli.CommandLineOptionTest;
 
 /**
  * Test on bit manipulation related command line options,
--- a/hotspot/test/compiler/arguments/BMIUnsupportedCPUTest.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/BMIUnsupportedCPUTest.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,8 +21,11 @@
  * questions.
  */
 
-import jdk.test.lib.*;
-import jdk.test.lib.cli.*;
+package compiler.arguments;
+
+import jdk.test.lib.ExitCode;
+import jdk.test.lib.Platform;
+import jdk.test.lib.cli.CommandLineOptionTest;
 
 /**
  * Test on bit manipulation related command line options,
--- a/hotspot/test/compiler/arguments/CheckCICompilerCount.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/CheckCICompilerCount.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,19 +21,22 @@
  * questions.
  */
 
-import jdk.test.lib.*;
-
 /*
  * @test CheckCheckCICompilerCount
  * @bug 8130858
  * @bug 8132525
  * @summary Check that correct range of values for CICompilerCount are allowed depending on whether tiered is enabled or not
- * @library /testlibrary
+ * @library /testlibrary /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @run main CheckCICompilerCount
+ * @run driver compiler.arguments.CheckCICompilerCount
  */
 
+package compiler.arguments;
+
+import jdk.test.lib.OutputAnalyzer;
+import jdk.test.lib.ProcessTools;
+
 public class CheckCICompilerCount {
     private static final String[][] NON_TIERED_ARGUMENTS = {
         {
--- a/hotspot/test/compiler/arguments/CheckCompileThresholdScaling.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/CheckCompileThresholdScaling.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,18 +21,21 @@
  * questions.
  */
 
-import jdk.test.lib.*;
-
 /*
  * @test CheckCompileThresholdScaling
  * @bug 8059604
- * @summary "Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)"
+ * @summary Add CompileThresholdScaling flag to control when methods are first compiled (with +/-TieredCompilation)
  * @library /testlibrary
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @run main CheckCompileThresholdScaling
+ * @run driver compiler.arguments.CheckCompileThresholdScaling
  */
 
+package compiler.arguments;
+
+import jdk.test.lib.OutputAnalyzer;
+import jdk.test.lib.ProcessTools;
+
 public class CheckCompileThresholdScaling {
 
     // The flag CompileThresholdScaling scales compilation thresholds
--- a/hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,19 +26,19 @@
  * @bug 8031321
  * @summary Verify processing of UseBMI1Instructions option on CPU with
  *          BMI1 feature support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseBMI1InstructionsOnSupportedCPU
- *        BMISupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ * @build compiler.arguments.TestUseBMI1InstructionsOnSupportedCPU
+ *        compiler.arguments.BMISupportedCPUTest
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
- *                   -XX:+WhiteBoxAPI TestUseBMI1InstructionsOnSupportedCPU
+ *                   -XX:+WhiteBoxAPI
+ *                   compiler.arguments.TestUseBMI1InstructionsOnSupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
+package compiler.arguments;
 
 public class TestUseBMI1InstructionsOnSupportedCPU
      extends BMISupportedCPUTest {
--- a/hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,20 +26,19 @@
  * @bug 8031321
  * @summary Verify processing of UseBMI1Instructions option on CPU without
  *          BMI1 feature support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseBMI1InstructionsOnUnsupportedCPU
- *        BMIUnsupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ * @build compiler.arguments.TestUseBMI1InstructionsOnUnsupportedCPU
+ *        compiler.arguments.BMIUnsupportedCPUTest
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
- *                   -XX:+WhiteBoxAPI TestUseBMI1InstructionsOnUnsupportedCPU
+ *                   -XX:+WhiteBoxAPI
+ *                   compiler.arguments.TestUseBMI1InstructionsOnUnsupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
-import jdk.test.lib.cli.*;
+package compiler.arguments;
 
 public class TestUseBMI1InstructionsOnUnsupportedCPU
       extends BMIUnsupportedCPUTest {
--- a/hotspot/test/compiler/arguments/TestUseCompiler.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseCompiler.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test TestUseCompiler
  * @bug 8086068
  * @summary Tests execution with inconsistent UseCompiler flag combination.
- * @run main/othervm -Xint -XX:+UseCompiler TestUseCompiler
- * @run main/othervm -XX:+UseCompiler -Xint TestUseCompiler
+ *
+ * @run main/othervm -Xint -XX:+UseCompiler compiler.arguments.TestUseCompiler
+ * @run main/othervm -XX:+UseCompiler -Xint compiler.arguments.TestUseCompiler
  */
 
+package compiler.arguments;
+
 public class TestUseCompiler {
 
     public static void main(String args[]) {
--- a/hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,20 +26,19 @@
  * @bug 8031321
  * @summary Verify processing of UseCountLeadingZerosInstruction option
  *          on CPU with LZCNT support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseCountLeadingZerosInstructionOnSupportedCPU
- *        BMISupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ *
+ * @build compiler.arguments.TestUseCountLeadingZerosInstructionOnSupportedCPU
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI
- *                   TestUseCountLeadingZerosInstructionOnSupportedCPU
+ *                   compiler.arguments.TestUseCountLeadingZerosInstructionOnSupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
+package compiler.arguments;
 
 public class TestUseCountLeadingZerosInstructionOnSupportedCPU
      extends BMISupportedCPUTest {
--- a/hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,20 +26,19 @@
  * @bug 8031321
  * @summary Verify processing of UseCountLeadingZerosInstruction option
  *          on CPU without LZCNT support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseCountLeadingZerosInstructionOnUnsupportedCPU
- *        BMIUnsupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ *
+ * @build compiler.arguments.TestUseCountLeadingZerosInstructionOnUnsupportedCPU
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI
- *                   TestUseCountLeadingZerosInstructionOnUnsupportedCPU
+ *                   compiler.arguments.TestUseCountLeadingZerosInstructionOnUnsupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
+package compiler.arguments;
 
 public class TestUseCountLeadingZerosInstructionOnUnsupportedCPU
      extends BMIUnsupportedCPUTest {
--- a/hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,21 +26,21 @@
  * @bug 8031321
  * @summary Verify processing of UseCountTrailingZerosInstruction option
  *          on CPU with TZCNT (BMI1 feature) support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseCountTrailingZerosInstructionOnSupportedCPU
- *        BMISupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ *
+ * @build compiler.arguments.TestUseCountTrailingZerosInstructionOnSupportedCPU
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI
- *                   TestUseCountTrailingZerosInstructionOnSupportedCPU
+ *                   compiler.arguments.TestUseCountTrailingZerosInstructionOnSupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
-import jdk.test.lib.cli.*;
+package compiler.arguments;
+
+import jdk.test.lib.cli.CommandLineOptionTest;
 
 public class TestUseCountTrailingZerosInstructionOnSupportedCPU
         extends BMISupportedCPUTest {
--- a/hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java	Tue Jul 12 18:24:48 2016 +0300
@@ -26,21 +26,21 @@
  * @bug 8031321
  * @summary Verify processing of UseCountTrailingZerosInstruction option
  *          on CPU without TZCNT instruction (BMI1 feature) support.
- * @library /testlibrary /test/lib
+ * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestUseCountTrailingZerosInstructionOnUnsupportedCPU
- *        BMIUnsupportedCPUTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- *                              sun.hotspot.WhiteBox$WhiteBoxPermission
+ *
+ * @build compiler.arguments.TestUseCountTrailingZerosInstructionOnUnsupportedCPU
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI
- *                   TestUseCountTrailingZerosInstructionOnUnsupportedCPU
+ *                   compiler.arguments.TestUseCountTrailingZerosInstructionOnUnsupportedCPU
  */
 
-import sun.hotspot.cpuinfo.CPUInfo;
-import jdk.test.lib.*;
-import jdk.test.lib.cli.*;
+package compiler.arguments;
+
+import jdk.test.lib.cli.CommandLineOptionTest;
 
 public class TestUseCountTrailingZerosInstructionOnUnsupportedCPU
         extends BMIUnsupportedCPUTest {
--- a/hotspot/test/compiler/arraycopy/TestArrayCloneBadAssert.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCloneBadAssert.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,14 @@
  * @test
  * @bug 8073792
  * @summary assert broken when array size becomes known during igvn
- * @run main/othervm -Xcomp -XX:CompileOnly=TestArrayCloneBadAssert.m TestArrayCloneBadAssert
  *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,compiler.arraycopy.TestArrayCloneBadAssert::m
+ *      compiler.arraycopy.TestArrayCloneBadAssert
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCloneBadAssert {
 
     static final int[] array = new int[5];
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyAsLoadsStores.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyAsLoadsStores.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,13 +25,22 @@
  * @test
  * @bug 6912521
  * @summary small array copy as loads/stores
- * @compile TestArrayCopyAsLoadsStores.java TestArrayCopyUtils.java
- * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestArrayCopyAsLoadsStores::m* -XX:TypeProfileLevel=200 TestArrayCopyAsLoadsStores
- * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestArrayCopyAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode -XX:TypeProfileLevel=200 TestArrayCopyAsLoadsStores
+ * @library /
  *
+ * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestArrayCopyAsLoadsStores::m*
+ *                   -XX:TypeProfileLevel=200
+ *                   compiler.arraycopy.TestArrayCopyAsLoadsStores
+ * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestArrayCopyAsLoadsStores::m*
+ *                   -XX:TypeProfileLevel=200
+ *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode
+ *                   compiler.arraycopy.TestArrayCopyAsLoadsStores
  */
 
-import java.util.*;
+package compiler.arraycopy;
+
+import java.util.Arrays;
 
 public class TestArrayCopyAsLoadsStores extends TestArrayCopyUtils {
 
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyBadReexec.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyBadReexec.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8073866
  * @summary Fix for 8064703 may also cause stores between the allocation and arraycopy to be rexecuted after a deoptimization
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArrayCopyBadReexec
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestArrayCopyBadReexec
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCopyBadReexec {
 
     static int val;
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyMacro.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyMacro.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 7173584
  * @summary arraycopy as macro node
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArrayCopyMacro
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestArrayCopyMacro
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCopyMacro {
     static class A {
     }
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyNoInit.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyNoInit.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8064703
  * @summary Deoptimization between array allocation and arraycopy may result in non initialized array
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020 TestArrayCopyNoInit
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020
+ *                   compiler.arraycopy.TestArrayCopyNoInit
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCopyNoInit {
 
     static int[] m1(int[] src) {
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyNoInitDeopt.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyNoInitDeopt.java	Tue Jul 12 18:24:48 2016 +0300
@@ -28,19 +28,22 @@
  * @library /testlibrary /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @build TestArrayCopyNoInitDeopt
- * @run driver ClassFileInstaller sun.hotspot.WhiteBox
+ *
+ * @build compiler.arraycopy.TestArrayCopyNoInitDeopt
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
  *                                jdk.test.lib.Platform
  * @run main/othervm -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020
- *                   TestArrayCopyNoInitDeopt
+ *                   compiler.arraycopy.TestArrayCopyNoInitDeopt
  */
 
+package compiler.arraycopy;
+
+import compiler.whitebox.CompilerWhiteBoxTest;
+import jdk.test.lib.Platform;
 import sun.hotspot.WhiteBox;
-import sun.hotspot.code.NMethod;
-import jdk.test.lib.Platform;
-import java.lang.reflect.*;
-import compiler.whitebox.CompilerWhiteBoxTest;
+
+import java.lang.reflect.Method;
 
 public class TestArrayCopyNoInitDeopt {
 
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyOfStopped.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyOfStopped.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8074676
  * @summary after guards in Arrays.copyOf() intrinsic, control may become top
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArrayCopyOfStopped
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestArrayCopyOfStopped
  */
 
+package compiler.arraycopy;
+
 import java.util.Arrays;
 
 public class TestArrayCopyOfStopped {
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyOverflowArguments.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyOverflowArguments.java	Tue Jul 12 18:24:48 2016 +0300
@@ -28,10 +28,13 @@
  *          are properly sign extended to 64 bit (e.g., PPC64, s390x). This can fail
  *          if slow_arraycopy_C() is commpiled by the C compiler without any imlicit
  *          casts (as spill stores to the stack that are done with 4-byte instruction).
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArrayCopyOverflowArguments
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestArrayCopyOverflowArguments
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCopyOverflowArguments {
 
     // Without volatile the overflowing computation was moved up and then
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyOverflowInBoundChecks.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyOverflowInBoundChecks.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,9 +25,13 @@
  * @test
  * @bug 8134468
  * @summary test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArrayCopyOverflowInBoundChecks
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                    compiler.arraycopy.TestArrayCopyOverflowInBoundChecks
  */
+
+package compiler.arraycopy;
+
 public class TestArrayCopyOverflowInBoundChecks {
 
     static byte[] src_array = { 'a', 'b', 'c', 'd', 'e' };
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyStoppedAfterGuards.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyStoppedAfterGuards.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,16 @@
  * @test
  * @bug 8075921
  * @summary control becomes top after arraycopy guards and confuses tighly coupled allocation logic
- * @run main/othervm -Xcomp -XX:CompileOnly=TestArrayCopyStoppedAfterGuards.test,System.arraycopy TestArrayCopyStoppedAfterGuards
+ *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,java.lang.System::arraycopy
+ *      -XX:CompileCommand=compileonly,compiler.arraycopy.TestArrayCopyStoppedAfterGuards::test
+ *      compiler.arraycopy.TestArrayCopyStoppedAfterGuards
  *
  */
 
+package compiler.arraycopy;
+
 public class TestArrayCopyStoppedAfterGuards {
 
     static void test() {
--- a/hotspot/test/compiler/arraycopy/TestArrayCopyUtils.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArrayCopyUtils.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,9 +21,13 @@
  * questions.
  */
 
-import java.lang.annotation.*;
-import java.lang.reflect.*;
-import java.util.*;
+package compiler.arraycopy;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.util.HashMap;
 
 abstract class TestArrayCopyUtils {
     public enum ArraySrc {
--- a/hotspot/test/compiler/arraycopy/TestArraysCopyOfNoTypeCheck.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestArraysCopyOfNoTypeCheck.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8055910
  * @summary Arrays.copyOf doesn't perform subtype check
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestArraysCopyOfNoTypeCheck
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestArraysCopyOfNoTypeCheck
  */
 
+package compiler.arraycopy;
+
 import java.util.Arrays;
 
 public class TestArraysCopyOfNoTypeCheck {
--- a/hotspot/test/compiler/arraycopy/TestDeadArrayCopyOnMemChain.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestDeadArrayCopyOnMemChain.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8080699
  * @summary eliminated arraycopy node still reachable through exception edges
- * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation TestDeadArrayCopyOnMemChain
  *
+ * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation
+ *                   compiler.arraycopy.TestDeadArrayCopyOnMemChain
  */
 
+package compiler.arraycopy;
+
 public class TestDeadArrayCopyOnMemChain {
     static class A {
         int f;
--- a/hotspot/test/compiler/arraycopy/TestEliminateArrayCopy.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestEliminateArrayCopy.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,11 +25,16 @@
  * @test
  * @bug 8076188
  * @summary arraycopy to non escaping destination may be eliminated
- * @compile TestEliminateArrayCopy.java TestArrayCopyUtils.java
- * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestEliminateArrayCopy*::m* TestEliminateArrayCopy
+ * @library /
+ *
+ * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestEliminateArrayCopy*::m*
+ *                   compiler.arraycopy.TestEliminateArrayCopy
  *
  */
 
+package compiler.arraycopy;
+
 public class TestEliminateArrayCopy {
 
     static class CloneTests extends TestInstanceCloneUtils {
--- a/hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyDeopt.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyDeopt.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,8 +25,12 @@
  * @test
  * @bug 8130847 8156760
  * @summary Eliminated instance/array written to by an array copy variant must be correctly initialized when reallocated at a deopt
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestEliminatedArrayCopyDeopt
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks TestEliminatedArrayCopyDeopt
+ *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestEliminatedArrayCopyDeopt
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks
+ *                   compiler.arraycopy.TestEliminatedArrayCopyDeopt
  */
 
 // Test that if an ArrayCopy node is eliminated because it doesn't
@@ -34,6 +38,8 @@
 // on a deoptimization, when the object/array is reallocated, it is
 // correctly initialized
 
+package compiler.arraycopy;
+
 public class TestEliminatedArrayCopyDeopt {
 
     static class A implements Cloneable {
--- a/hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyPhi.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestEliminatedArrayCopyPhi.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8134321
  * @summary Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestEliminatedArrayCopyPhi
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestEliminatedArrayCopyPhi
  */
 
+package compiler.arraycopy;
+
 public class TestEliminatedArrayCopyPhi {
 
     static int[] escaped;
--- a/hotspot/test/compiler/arraycopy/TestEliminatedArrayLoopPredicateCopyDeopt.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestEliminatedArrayLoopPredicateCopyDeopt.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,13 @@
  * @test
  * @bug 8134974
  * @summary Cannot pin eliminated arraycopy loads for deopt state in uncommon trap path if it is a loop predicate unc
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestEliminatedArrayLoopPredicateCopyDeopt
  *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   compiler.arraycopy.TestEliminatedArrayLoopPredicateCopyDeopt
  */
 
+package compiler.arraycopy;
+
 public class TestEliminatedArrayLoopPredicateCopyDeopt {
 
     static boolean test(int[] array_src) {
--- a/hotspot/test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,12 +25,23 @@
  * @test
  * @bug 6700100 8156760
  * @summary small instance clone as loads/stores
- * @compile TestInstanceCloneAsLoadsStores.java TestInstanceCloneUtils.java
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* TestInstanceCloneAsLoadsStores
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode TestInstanceCloneAsLoadsStores
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestInstanceCloneAsLoadsStores::m* -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks TestInstanceCloneAsLoadsStores
+ * @library /
+ *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m*
+ *                   compiler.arraycopy.TestInstanceCloneAsLoadsStores
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m*
+ *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+StressArrayCopyMacroNode
+ *                   compiler.arraycopy.TestInstanceCloneAsLoadsStores
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestInstanceCloneAsLoadsStores::m*
+ *                   -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks
+ *                   compiler.arraycopy.TestInstanceCloneAsLoadsStores
  */
 
+package compiler.arraycopy;
+
 public class TestInstanceCloneAsLoadsStores extends TestInstanceCloneUtils {
 
     // Should be compiled as loads/stores
--- a/hotspot/test/compiler/arraycopy/TestInstanceCloneUtils.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestInstanceCloneUtils.java	Tue Jul 12 18:24:48 2016 +0300
@@ -21,8 +21,12 @@
  * questions.
  */
 
-import java.lang.reflect.*;
-import java.util.*;
+package compiler.arraycopy;
+
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
+import java.util.HashMap;
 
 abstract class TestInstanceCloneUtils {
     static class Base implements Cloneable {
--- a/hotspot/test/compiler/arraycopy/TestLoadBypassArrayCopy.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestLoadBypassArrayCopy.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,10 +25,15 @@
  * @test
  * @bug 8086046
  * @summary load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded
- * @run main/othervm -XX:-BackgroundCompilation  -XX:-UseOnStackReplacement -XX:CompileCommand=dontinline,TestLoadBypassArrayCopy::test_helper -XX:-TieredCompilation TestLoadBypassArrayCopy
  *
+ * @run main/othervm -XX:-BackgroundCompilation  -XX:-UseOnStackReplacement
+ *                   -XX:CompileCommand=dontinline,compiler.arraycopy.TestLoadBypassArrayCopy::test_helper
+ *                   -XX:-TieredCompilation
+ *                   compiler.arraycopy.TestLoadBypassArrayCopy
  */
 
+package compiler.arraycopy;
+
 public class TestLoadBypassArrayCopy {
 
     static long i;
--- a/hotspot/test/compiler/arraycopy/TestMissingControl.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestMissingControl.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,9 +25,14 @@
  * @test
  * @bug 8055153
  * @summary missing control on LoadRange and LoadKlass when array copy macro node is expanded
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation TestMissingControl
+ *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation
+ *                   compiler.arraycopy.TestMissingControl
  *
  */
+
+package compiler.arraycopy;
+
 public class TestMissingControl {
 
     static int[] m1(int[] a2) {
--- a/hotspot/test/compiler/arraycopy/TestObjectArrayClone.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestObjectArrayClone.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,8 +25,14 @@
  * @test
  * @bug 8155643
  * @summary Test Object.clone() intrinsic if ReduceInitialCardMarks is disabled.
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompileOnly=TestObjectArrayClone.test -XX:-ReduceInitialCardMarks TestObjectArrayClone
+ *
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-ReduceInitialCardMarks
+ *                   -XX:CompileCommand=compileonly,compiler.arraycopy.TestObjectArrayClone::test
+ *                   compiler.arraycopy.TestObjectArrayClone
  */
+
+package compiler.arraycopy;
+
 public class TestObjectArrayClone {
 
     public static TestObjectArrayClone[] test(TestObjectArrayClone[] arr) {
--- a/hotspot/test/compiler/arraycopy/TestReduceBulkZeroingDisabled.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/arraycopy/TestReduceBulkZeroingDisabled.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,8 +25,13 @@
  * @test
  * @bug 8155241
  * @summary Test arraycopy elimination with ReduceBulkZeroing disabled.
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-ReduceBulkZeroing TestReduceBulkZeroingDisabled
+ *
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-ReduceBulkZeroing
+ *                   compiler.arraycopy.TestReduceBulkZeroingDisabled
  */
+
+package compiler.arraycopy;
+
 public class TestReduceBulkZeroingDisabled {
 
     static public void main(String[] args) {
--- a/hotspot/test/compiler/c1/6478991/NullCheckTest.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6478991
- * @summary C1 NullCheckEliminator yields incorrect exceptions
- *
- * @run main/othervm -XX:CompileOnly=NullCheckTest.test,NullCheckTest.inlined  -Xcomp NullCheckTest
- */
-
-public class NullCheckTest {
-        static class A {
-                int f;
-
-                public final void inlined(A a) {
-                        // This cast is intended to fail.
-                        B b = ((B) a);
-                }
-        }
-
-        static class B extends A {
-        }
-
-
-        private static void test(A a1, A a2) {
-                // Inlined call must do a null check on a1.
-                // However, the exlipcit NullCheck instruction is eliminated and
-                // the null check is folded into the field load below, so the
-                // exception in the inlined method is thrown before the null check
-                // and the NullPointerException is not thrown.
-                a1.inlined(a2);
-
-                int x = a1.f;
-        }
-
-        public static void main(String[] args) {
-                // load classes
-                new B();
-                try {
-                        test(null, new A());
-
-                        throw new InternalError("FAILURE: no exception");
-                } catch (NullPointerException ex) {
-                        System.out.println("CORRECT: NullPointerException");
-                } catch (ClassCastException ex) {
-                        System.out.println("FAILURE: ClassCastException");
-                        throw ex;
-                }
-        }
-}
--- a/hotspot/test/compiler/c1/6579789/Test6579789.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6579789
- * @summary Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
- * @run main/othervm -Xcomp -XX:UseSSE=0 -XX:CompileOnly=Test6579789.bug Test6579789
- */
-
-public class Test6579789 {
-    public static void main(String[] args) {
-        bug(4);
-    }
-    public static void bug(int n) {
-        float f = 1;
-        int i = 1;
-        try {
-            int x = 1 / n; // instruction that can trap
-            f = 2;
-            i = 2;
-            int y = 2 / n; // instruction that can trap
-        } catch (Exception ex) {
-            f++;
-            i++;
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6756768/Test6756768.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 6756768
- * @summary C1 generates invalid code
- *
- * @run main/othervm -Xcomp Test6756768
- */
-
-class Test6756768a
-{
-    static boolean var_1 = true;
-}
-
-final class Test6756768b
-{
-    static boolean var_24 = false;
-    static int var_25 = 0;
-
-    static boolean var_temp1 = Test6756768a.var_1 = false;
-}
-
-public final class Test6756768 extends Test6756768a
-{
-    final static int var = var_1 ^ (Test6756768b.var_24 ? var_1 : var_1) ? Test6756768b.var_25 : 1;
-
-    static public void main(String[] args) {
-        if (var != 0) {
-            throw new InternalError("var = " + var);
-        }
-    }
-
-}
--- a/hotspot/test/compiler/c1/6756768/Test6756768_2.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 6756768
- * @summary C1 generates invalid code
- *
- * @run main/othervm -Xcomp Test6756768_2
- */
-
-class Test6756768_2a {
-    static int var = ++Test6756768_2.var;
-}
-
-public class Test6756768_2 {
-    static int var = 1;
-
-    static Object d2 = null;
-
-    static void test_static_field() {
-        int v = var;
-        int v2 = Test6756768_2a.var;
-        int v3 = var;
-        var = v3;
-    }
-
-    public static void main(String[] args) {
-        var = 1;
-        test_static_field();
-        if (var != 2) {
-            throw new InternalError();
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6757316/Test6757316.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 6757316
- * @summary load_constant() produces a wrong long constant, with high a low words swapped
- * @run main/othervm -Xcomp Test6757316
- */
-
-public class Test6757316 {
-    public static void main(String[] args) {
-        long[] arr = {
-            0x11111111aaaaaaaaL,
-            0xaaaaaaaa11111111L,
-            0x11111111aaaaaaaaL,
-            0xaaaaaaaa11111111L
-        };
-        if (arr[0] == arr[1]) {
-            throw new InternalError();
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6758234/Test6758234.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 6758234
- * @summary if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs
- * @run main/othervm -Xcomp -XX:CompileOnly=Test6758234.main Test6758234
- */
-
-public class Test6758234 {
-    static int x = 0;
-    static int y = 1;
-
-    public static void main(String[] args) {
-        if (1 != ((x < y) ? 1L : 0)) {
-            throw new InternalError();
-        }
-   }
-}
--- a/hotspot/test/compiler/c1/6769124/TestArrayCopy6769124.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6769124
- * @summary arraycopy may crash the VM with c1 on 64 bit
- */
-
-public class TestArrayCopy6769124 {
-
-    public static void main(String[] args) {
-
-        int k = 1 << 31;
-
-
-        for(int j = 0; j <1000000; j++) {
-            int i = -1;
-            while(i < 10) {
-                i++;
-            }
-
-            int m = k * i;
-
-            int[] O1 = new int[20];
-            int[] O2 = new int[20];
-
-            System.arraycopy(O1, i, O2, i, 1); //will crash on amd64
-            System.arraycopy(O1, m, O2, m, 1); //will crash on sparcv9
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6769124/TestDeoptInt6769124.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6769124
- * @summary int value might not be correctly decoded on deopt with c1 on 64 bit
- *
- * @run main/othervm -Xcomp -XX:CompileOnly=TestDeoptInt6769124.m TestDeoptInt6769124
- */
-
-public class TestDeoptInt6769124 {
-
-    static class A {
-        volatile int vl;
-        A(int v) {
-            vl = v;
-        }
-    }
-
-    static void m(int b) {
-        A a = new A(10);
-        int c;
-        c = b + a.vl; //accessing volatile field of class not loaded at compile time forces a deopt
-        if(c != 20) {
-            System.out.println("a (= " + a.vl + ") + b (= " + b + ") = c (= " + c + ") != 20");
-            throw new InternalError();
-        }
-    }
-
-    public static void main(String[] args) {
-        m(10);
-    }
-
-}
--- a/hotspot/test/compiler/c1/6769124/TestUnalignedLoad6769124.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6769124
- * @summary unaligned load may fail with c1 on 64 bit
- */
-
-public class TestUnalignedLoad6769124 {
-
-    static long l1v = 0x200000003L;
-    static long l2v = 0x400000005L;
-    static double d1v = Double.MAX_VALUE;
-    static double d2v = Double.MIN_VALUE;
-
-    public static void main(String[] args) {
-        long l1 = l1v;
-        double d1 = d1v;
-        long l2 = l2v;
-        double d2 = d2v;
-
-        // Run long enough to induce an OSR
-        for (int i = 0; i < 10000000; i++) {
-        }
-        boolean error = false;
-
-        if (l1 != l1v) {
-            System.out.println(l1 + " != " + l1v);
-            error = true;
-        }
-        if (l2 != l2v) {
-            System.out.println(l2 + " != " + l2v);
-            error = true;
-        }
-        if (d1 != d1v) {
-            System.out.println(d1 + " != " + d1v);
-            error = true;
-        }
-        if (d2 != d2v) {
-            System.out.println(d2 + " != " + d2v);
-            error = true;
-        }
-        if (error) {
-            throw new InternalError();
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6795465/Test6795465.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6795465
- * @summary Crash in assembler_sparc.cpp with client compiler on solaris-sparc
- *
- * @run main Test6795465
- */
-
-public class Test6795465 {
-    static long var_1 = -1;
-
-    void test() {
-        long var_2 = var_1 * 1;
-        var_2 = var_2 + (new byte[1])[0];
-    }
-
-    public static void main(String[] args) {
-        Test6795465 t = new Test6795465();
-        for (int i = 0; i < 200000; i++) {
-            t.test();
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6849574/Test.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6849574
- * @summary VM crash using NonBlockingHashMap (high_scale_lib)
- *
- * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+VerifyBeforeGC Test
- */
-
-import java.util.concurrent.atomic.*;
-
-public class Test extends Thread {
-
-    public static void main(String[] args) {
-        AtomicReferenceArray a = new AtomicReferenceArray(10000);
-        for (int i = 0; i < 100000; i++) {
-            a.getAndSet(9999, new Object());
-            if (i > 99990) System.gc();
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6855215/Test6855215.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6855215
- * @summary Calculation error (NaN) after about 1500 calculations
- *
- * @run main/othervm -Xbatch -XX:UseSSE=0 Test6855215
- */
-
-public class Test6855215 {
-    private double m;
-    private double b;
-
-    public static double log10(double x) {
-        return Math.log(x) / Math.log(10);
-    }
-
-    void calcMapping(double xmin, double xmax, double ymin, double ymax) {
-        m = (ymax - ymin) / (log10(xmax) - log10(xmin));
-        b = (log10(xmin) * ymax - log10(xmax) * ymin);
-    }
-
-    public static void main(String[] args) {
-        Test6855215 c = new Test6855215();
-        for (int i = 0; i < 30000; i++) {
-            c.calcMapping(91, 121, 177, 34);
-            if (c.m != c.m) {
-                throw new InternalError();
-            }
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/6932496/Test6932496.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,188 +0,0 @@
-/*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 6932496
- * @summary incorrect deopt of jsr subroutine on 64 bit c1
- * @modules java.base/jdk.internal.org.objectweb.asm
- * @run main/othervm -Xcomp -XX:CompileOnly=Test.test Test6932496
- */
-import java.lang.reflect.Method;
-import java.nio.file.Files;
-import java.nio.file.Paths;
-import java.io.IOException;
-
-import jdk.internal.org.objectweb.asm.ClassWriter;
-import jdk.internal.org.objectweb.asm.MethodVisitor;
-import jdk.internal.org.objectweb.asm.FieldVisitor;
-import jdk.internal.org.objectweb.asm.Opcodes;
-import jdk.internal.org.objectweb.asm.Type;
-import jdk.internal.org.objectweb.asm.Label;
-
-public class Test6932496 extends ClassLoader {
-    private static final int CLASS_FILE_VERSION = 49;
-    private static final String CLASS_TEST = "Test";
-    private static final String CLASS_OBJECT = "java/lang/Object";
-    private static final String METHOD_INIT = "<init>";
-    private static final String METHOD_TEST = "test";
-    private static final String DESC_VOID_METHOD = "()V";
-    private static final String FIELD_FLAG = "flag";
-
-    public static void main(String[] args) {
-        Test6932496 test = new Test6932496();
-        test.execute();
-    }
-
-    private void execute() {
-        byte[] bytecode = Test6932496.generateTestClass();
-
-        try {
-            Files.write(Paths.get("Test.class.dump"), bytecode);
-        } catch (IOException e) {
-            System.err.println("classfile dump failed : " + e.getMessage());
-            e.printStackTrace();
-        }
-        try {
-            Class aClass = defineClass(CLASS_TEST, bytecode, 0, bytecode.length);
-            Method test = aClass.getDeclaredMethod(METHOD_TEST);
-            test.invoke(null);
-        } catch (ClassFormatError | IllegalArgumentException
-                    | ReflectiveOperationException e) {
-            throw new RuntimeException("TESTBUG : generated class is invalid", e);
-        }
-    }
-
-    /*
-        public class Test {
-            volatile boolean flag = false;
-            public static void m() {
-                try {
-                } finally {
-                    Test test = new Test();
-                    test.flag = true;
-                }
-            }
-        }
-    */
-    private static byte[] generateTestClass() {
-        ClassWriter cw = new ClassWriter(0);
-        cw.visit(CLASS_FILE_VERSION, Opcodes.ACC_PUBLIC + Opcodes.ACC_SUPER,
-                CLASS_TEST, null, CLASS_OBJECT, null);
-        // volatile boolean flag;
-        {
-            FieldVisitor fv = cw.visitField(Opcodes.ACC_VOLATILE, FIELD_FLAG,
-                    Type.BOOLEAN_TYPE.getDescriptor(),
-                    /* signature = */ null, /* value = */ null);
-        }
-
-        /*
-            public Test() {
-                flag = false;
-            }
-        */
-        {
-            MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC,
-                    METHOD_INIT, DESC_VOID_METHOD,
-                    /* signature = */ null, /* exceptions = */ null);
-
-            mv.visitCode();
-            mv.visitVarInsn(Opcodes.ALOAD, 0);
-            mv.visitMethodInsn(Opcodes.INVOKESPECIAL, CLASS_OBJECT, METHOD_INIT,
-                    DESC_VOID_METHOD, false);
-
-            mv.visitVarInsn(Opcodes.ALOAD, 0);
-            mv.visitInsn(Opcodes.ICONST_0);
-            mv.visitFieldInsn(Opcodes.PUTFIELD, CLASS_TEST, FIELD_FLAG,
-                    Type.BOOLEAN_TYPE.getDescriptor());
-
-            mv.visitInsn(Opcodes.RETURN);
-            mv.visitMaxs(/* stack = */ 2, /* locals = */ 1);
-            mv.visitEnd();
-        }
-
-        /*
-            public static void m() {
-                try {
-                } finally {
-                    Test test = new Test();
-                    test.flag = true;
-                }
-            }
-        */
-        {
-            MethodVisitor mv = cw.visitMethod(
-                    Opcodes.ACC_STATIC + Opcodes.ACC_PUBLIC,
-                    METHOD_TEST, DESC_VOID_METHOD,
-                    /* signature = */ null, /* exceptions = */ null);
-            Label beginLabel = new Label();
-            Label block1EndLabel = new Label();
-            Label handlerLabel = new Label();
-            Label block2EndLabel = new Label();
-            Label label = new Label();
-            Label endLabel = new Label();
-
-            mv.visitCode();
-            mv.visitTryCatchBlock(beginLabel, block1EndLabel, handlerLabel,
-                    /* type = <any> */ null);
-            mv.visitTryCatchBlock(handlerLabel, block2EndLabel, handlerLabel,
-                    /* type = <any> */ null);
-
-            mv.visitLabel(beginLabel);
-            mv.visitJumpInsn(Opcodes.JSR, label);
-            mv.visitLabel(block1EndLabel);
-            mv.visitJumpInsn(Opcodes.GOTO, endLabel);
-
-            mv.visitLabel(handlerLabel);
-            mv.visitVarInsn(Opcodes.ASTORE, 0);
-            mv.visitJumpInsn(Opcodes.JSR, label);
-            mv.visitLabel(block2EndLabel);
-            mv.visitVarInsn(Opcodes.ALOAD, 0);
-            mv.visitInsn(Opcodes.ATHROW);
-
-            mv.visitLabel(label);
-            mv.visitVarInsn(Opcodes.ASTORE, 1);
-            mv.visitTypeInsn(Opcodes.NEW, CLASS_TEST);
-            mv.visitInsn(Opcodes.DUP);
-            mv.visitMethodInsn(Opcodes.INVOKESPECIAL, CLASS_TEST, METHOD_INIT,
-                    DESC_VOID_METHOD);
-            mv.visitVarInsn(Opcodes.ASTORE, 2);
-
-            mv.visitVarInsn(Opcodes.ALOAD, 2);
-            mv.visitInsn(Opcodes.ICONST_1);
-            mv.visitFieldInsn(Opcodes.PUTFIELD, CLASS_TEST, FIELD_FLAG,
-                    Type.BOOLEAN_TYPE.getDescriptor());
-
-            mv.visitVarInsn(Opcodes.RET, 1);
-
-            mv.visitLabel(endLabel);
-            mv.visitInsn(Opcodes.RETURN);
-            mv.visitMaxs(/* stack = */ 2, /* locals = */ 3);
-            mv.visitEnd();
-        }
-
-        cw.visitEnd();
-        return cw.toByteArray();
-    }
-}
--- a/hotspot/test/compiler/c1/7042153/Test7042153.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 7042153
- * @summary Bad folding of IfOps with unloaded constant arguments in C1
- *
- * @run main/othervm -Xcomp Test7042153
- */
-
-import java.lang.reflect.*;
-
-public class Test7042153 {
-  static public class Bar { }
-  static public class Foo { }
-
-  static volatile boolean z;
-  public static void main(String [] args) {
-    Class cx = Bar.class;
-    Class cy = Foo.class;
-    z = (cx == cy);
-  }
-}
--- a/hotspot/test/compiler/c1/7090976/Test7090976.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 7090976
- * @summary Eclipse/CDT causes a JVM crash while indexing C++ code
- *
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement Test7090976
- */
-
-public class Test7090976 {
-
-    static interface I1 {
-        public void m1();
-    };
-
-    static interface I2 {
-        public void m2();
-    };
-
-    static interface I extends I1,I2 {
-    }
-
-    static class A implements I1 {
-        int v = 0;
-        int v2;
-
-        public void m1() {
-            v2 = v;
-        }
-    }
-
-    static class B implements I2 {
-        Object v = new Object();
-        Object v2;
-
-        public void m2() {
-            v2 = v;
-        }
-    }
-
-    private void test(A a)
-    {
-        if (a instanceof I) {
-            I i = (I)a;
-            i.m1();
-            i.m2();
-        }
-    }
-
-    public static void main(String[] args)
-    {
-        Test7090976 t = new Test7090976();
-        A a = new A();
-        B b = new B();
-        for (int i = 0; i < 10000; i++) {
-            t.test(a);
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/7103261/Test7103261.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-/*
- * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 7103261
- * @summary crash with jittester on sparc
- *
- * @run main Test7103261
- */
-
-// exercise implicit null checking in the compiler for various field types
-public class Test7103261 {
-    static Test7103261 null_value;
-    static Test7103261 nonnull_value = new Test7103261();
-    static Test7103261 nonnull_value2 = new Test7103261();
-
-    long l;
-    int i;
-    float f;
-    double d;
-    byte b;
-    char c;
-    short s;
-    boolean z;
-    Object o;
-
-    public static void main(String[] args) {
-        constantStore();
-        valueTest(false);
-        valueTest(true);
-    }
-    static void constantStore() {
-        for (int field = 0; field < 9; field++) {
-            try {
-                Test7103261 o = nonnull_value;
-                for (int i = 0; i < 100000; i++) {
-                    switch (field) {
-                    case 0: o.l = 0; break;
-                    case 1: o.i = 0; break;
-                    case 2: o.f = 0; break;
-                    case 3: o.d = 0; break;
-                    case 4: o.b = 0; break;
-                    case 5: o.c = 0; break;
-                    case 6: o.s = 0; break;
-                    case 7: o.z = false; break;
-                    case 8: o.o = null; break;
-                    default: throw new InternalError();
-                    }
-                    if (i == 90000) {
-                        // hide nullness from optimizer
-                        o = null_value;
-                    }
-                }
-            } catch (NullPointerException npe) {
-            }
-        }
-    }
-    static void valueTest(boolean store) {
-        for (int field = 0; field < 9; field++) {
-            try {
-                Test7103261 o  = nonnull_value;
-                Test7103261 o2 = nonnull_value2;
-                for (int i = 0; i < 100000; i++) {
-                    switch (field) {
-                    case 0: o.l = o2.l; break;
-                    case 1: o.i = o2.i; break;
-                    case 2: o.f = o2.f; break;
-                    case 3: o.d = o2.d; break;
-                    case 4: o.b = o2.b; break;
-                    case 5: o.c = o2.c; break;
-                    case 6: o.s = o2.s; break;
-                    case 7: o.z = o2.z; break;
-                    case 8: o.o = o2.o; break;
-                    default: throw new InternalError();
-                    }
-                    if (i == 90000) {
-                        // hide nullness from optimizer
-                        if (store)
-                            o = null_value;
-                        else
-                            o2 = null_value;
-                    }
-                }
-            } catch (NullPointerException npe) {
-            }
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/7123108/Test7123108.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 7123108
- * @summary C1 crashes with assert(if_state != NULL) failed: states do not match up
- *
- * @run main/othervm -Xcomp Test7123108
- */
-
-public class Test7123108 {
-
-    static class Test_Class_0 {
-        final static byte var_2 = 67;
-        byte var_3;
-    }
-
-    Object var_25 = "kgfpyhcms";
-    static long var_27 = 6899666748616086528L;
-
-    static float func_1()
-    {
-        return 0.0F;
-    }
-
-    private void test()
-    {
-        "dlwq".charAt(((short)'x' > var_27 | func_1() <= (((Test_Class_0)var_25).var_3) ? true : true) ? Test_Class_0.var_2 & (short)-1.1173839E38F : 'Y');
-    }
-
-    public static void main(String[] args)
-    {
-        Test7123108 t = new Test7123108();
-        try {
-            t.test();
-        } catch (Throwable e) { }
-    }
-}
--- a/hotspot/test/compiler/c1/8004051/Test8004051.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 8004051
- * @bug 8005722
- * @summary assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
- *
- * @run main/othervm -Xcomp Test8004051
- */
-
-public class Test8004051 {
-    public static void main(String[] argv) {
-        Object o = new Object();
-        fillPrimRect(1.1f, 1.2f, 1.3f, 1.4f,
-                     o, o,
-                     1.5f, 1.6f, 1.7f, 1.8f,
-                     2.0f, 2.1f, 2.2f, 2.3f,
-                     2.4f, 2.5f, 2.6f, 2.7f,
-                     100, 101);
-        System.out.println("Test passed, test did not assert");
-    }
-
-    static boolean fillPrimRect(float x, float y, float w, float h,
-                                Object rectTex, Object wrapTex,
-                                float bx, float by, float bw, float bh,
-                                float f1, float f2, float f3, float f4,
-                                float f5, float f6, float f7, float f8,
-                                int i1, int i2 ) {
-        System.out.println(x + " " + y + " " + w + " " + h + " " +
-                           bx + " " + by + " " + bw + " " + bh);
-        return true;
-    }
-}
--- a/hotspot/test/compiler/c1/8011706/Test8011706.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/*
- * @test
- * @bug 8011706
- * @summary loop invariant code motion may move load before store to the same field
- * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation Test8011706
- *
- */
-
-public class Test8011706 {
-    int[] array;
-
-    void m(boolean test, int[] array1, int[] array2) {
-        int i = 0;
-        if (test) {
-            array = array1;
-        } else {
-            array = array2;
-        }
-
-        while(true) {
-            int v = array[i];
-            i++;
-            if (i >= 10) return;
-        }
-    }
-
-    static public void main(String[] args) {
-        int[] new_array = new int[10];
-        Test8011706 ti = new Test8011706();
-        boolean failed = false;
-        try {
-            for (int i = 0; i < 10000; i++) {
-                ti.array = null;
-                ti.m(true, new_array, new_array);
-            }
-        } catch(NullPointerException ex) {
-            throw new RuntimeException("TEST FAILED", ex);
-        }
-        System.out.println("TEST PASSED");
-    }
-
-}
--- a/hotspot/test/compiler/c1/8011771/Test8011771.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/*
- * @test
- * @bug 8011771
- * @summary Array bound check elimination's in block motion doesn't always reset its data structures from one step to the other.
- * @run main/othervm -XX:-BackgroundCompilation Test8011771
- *
- */
-
-public class Test8011771 {
-
-    static void m(int[] a, int[] b, int j) {
-        // Array bound check elimination inserts a predicate before
-        // the loop. We'll have the predicate fail, so the method is
-        // recompiled without optimistic optimizations
-        for (int i = 0; i < 10; i++) {
-            a[i] = i;
-        }
-
-        // The test itself
-        a[j] = 0;
-        a[j+5] = 0;
-        b[j+4] = 0; // this range check shouldn't be eliminated
-    }
-
-    static public void main(String[] args) {
-        int[] arr1 = new int[10], arr2 = new int[10];
-        // force compilation:
-        for (int i = 0; i < 5000; i++) {
-            m(arr1, arr2, 0);
-        }
-
-        try {
-            m(new int[1], null, 0); // force predicate failure
-        } catch(ArrayIndexOutOfBoundsException e) {}
-
-        // force compilation again (no optimistic opts):
-        for (int i = 0; i < 5000; i++) {
-            m(arr1, arr2, 0);
-        }
-
-        // Check that the range check  on the second array wasn't optimized out
-        boolean success = false;
-        try {
-            m(arr1, new int[1], 0);
-        } catch(ArrayIndexOutOfBoundsException e) {
-            success = true;
-        }
-        if (success) {
-            System.out.println("TEST PASSED");
-        } else {
-            throw new RuntimeException("TEST FAILED: erroneous bound check elimination");
-        }
-    }
-}
--- a/hotspot/test/compiler/c1/CanonicalizeArrayLength.java	Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/c1/CanonicalizeArrayLength.java	Tue Jul 12 18:24:48 2016 +0300
@@ -25,11 +25,29 @@
  * @test
  * @bug 8150102 8150514 8150534
  * @summary C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation CanonicalizeArrayLength
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:+PatchALot CanonicalizeArrayLength
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:ScavengeRootsInCode=0 CanonicalizeArrayLength
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:ScavengeRootsInCode=1 CanonicalizeArrayLength
+ *
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
+ *                   -XX:-BackgroundCompilation
+ *                   compiler.c1.CanonicalizeArrayLength
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
+ *                   -XX:-BackgroundCompilation
+ *                   -XX:+PatchALot
+ *                   compiler.c1.CanonicalizeArrayLength
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
+ *                   -XX:-BackgroundCompilation
+ *                   -XX:ScavengeRootsInCode=0
+ *                   compiler.c1.CanonicalizeArrayLength
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
+ *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
+ *                   -XX:-BackgroundCompilation -XX:ScavengeRootsInCode=1
+ *                   compiler.c1.CanonicalizeArrayLength
  */
+
+package compiler.c1;
+
 public class CanonicalizeArrayLength {
     int[] arr = new int[42];
     int[] arrNull = null;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/NullCheckTest.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6478991
+ * @summary C1 NullCheckEliminator yields incorrect exceptions
+ *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,compiler.c1.NullCheckTest::test
+ *      -XX:CompileCommand=compileonly,compiler.c1.NullCheckTest::inlined
+ *      compiler.c1.NullCheckTest
+ */
+
+package compiler.c1;
+
+public class NullCheckTest {
+    static class A {
+        int f;
+
+        public final void inlined(A a) {
+            // This cast is intended to fail.
+            B b = ((B) a);
+        }
+    }
+
+    static class B extends A {
+    }
+
+
+    private static void test(A a1, A a2) {
+        // Inlined call must do a null check on a1.
+        // However, the exlipcit NullCheck instruction is eliminated and
+        // the null check is folded into the field load below, so the
+        // exception in the inlined method is thrown before the null check
+        // and the NullPointerException is not thrown.
+        a1.inlined(a2);
+
+        int x = a1.f;
+    }
+
+    public static void main(String[] args) {
+        // load classes
+        new B();
+        try {
+                test(null, new A());
+
+                throw new InternalError("FAILURE: no exception");
+        } catch (NullPointerException ex) {
+                System.out.println("CORRECT: NullPointerException");
+        } catch (ClassCastException ex) {
+                System.out.println("FAILURE: ClassCastException");
+                throw ex;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6579789.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6579789
+ * @summary Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
+ *
+ * @run main/othervm -Xcomp -XX:UseSSE=0
+ *      -XX:CompileCommand=compileonly,compiler.c1.Test6579789::bug
+ *      compiler.c1.Test6579789
+ */
+
+package compiler.c1;
+
+public class Test6579789 {
+    public static void main(String[] args) {
+        bug(4);
+    }
+    public static void bug(int n) {
+        float f = 1;
+        int i = 1;
+        try {
+            int x = 1 / n; // instruction that can trap
+            f = 2;
+            i = 2;
+            int y = 2 / n; // instruction that can trap
+        } catch (Exception ex) {
+            f++;
+            i++;
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6756768.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/**
+ * @test
+ * @bug 6756768
+ * @summary C1 generates invalid code
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test6756768
+ */
+
+package compiler.c1;
+
+class Test6756768a
+{
+    static boolean var_1 = true;
+}
+
+final class Test6756768b
+{
+    static boolean var_24 = false;
+    static int var_25 = 0;
+
+    static boolean var_temp1 = Test6756768a.var_1 = false;
+}
+
+public final class Test6756768 extends Test6756768a
+{
+    final static int var = var_1 ^ (Test6756768b.var_24 ? var_1 : var_1) ? Test6756768b.var_25 : 1;
+
+    static public void main(String[] args) {
+        if (var != 0) {
+            throw new InternalError("var = " + var);
+        }
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6756768_2.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/**
+ * @test
+ * @bug 6756768
+ * @summary C1 generates invalid code
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test6756768_2
+ */
+
+package compiler.c1;
+
+class Test6756768_2a {
+    static int var = ++Test6756768_2.var;
+}
+
+public class Test6756768_2 {
+    static int var = 1;
+
+    static Object d2 = null;
+
+    static void test_static_field() {
+        int v = var;
+        int v2 = Test6756768_2a.var;
+        int v3 = var;
+        var = v3;
+    }
+
+    public static void main(String[] args) {
+        var = 1;
+        test_static_field();
+        if (var != 2) {
+            throw new InternalError();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6757316.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/**
+ * @test
+ * @bug 6757316
+ * @summary load_constant() produces a wrong long constant, with high a low words swapped
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test6757316
+ */
+
+package compiler.c1;
+
+public class Test6757316 {
+    public static void main(String[] args) {
+        long[] arr = {
+            0x11111111aaaaaaaaL,
+            0xaaaaaaaa11111111L,
+            0x11111111aaaaaaaaL,
+            0xaaaaaaaa11111111L
+        };
+        if (arr[0] == arr[1]) {
+            throw new InternalError();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6758234.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/**
+ * @test
+ * @bug 6758234
+ * @summary if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs
+ *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,compiler.c1.Test6758234::main
+ *      compiler.c1.Test6758234
+ */
+
+package compiler.c1;
+
+public class Test6758234 {
+    static int x = 0;
+    static int y = 1;
+
+    public static void main(String[] args) {
+        if (1 != ((x < y) ? 1L : 0)) {
+            throw new InternalError();
+        }
+   }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6795465.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6795465
+ * @summary Crash in assembler_sparc.cpp with client compiler on solaris-sparc
+ *
+ * @run main compiler.c1.Test6795465
+ */
+
+package compiler.c1;
+
+public class Test6795465 {
+    static long var_1 = -1;
+
+    void test() {
+        long var_2 = var_1 * 1;
+        var_2 = var_2 + (new byte[1])[0];
+    }
+
+    public static void main(String[] args) {
+        Test6795465 t = new Test6795465();
+        for (int i = 0; i < 200000; i++) {
+            t.test();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6849574.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6849574
+ * @summary VM crash using NonBlockingHashMap (high_scale_lib)
+ *
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+VerifyBeforeGC
+ *      compiler.c1.Test6849574
+ */
+
+package compiler.c1;
+
+import java.util.concurrent.atomic.AtomicReferenceArray;
+
+public class Test6849574 extends Thread {
+
+    public static void main(String[] args) {
+        AtomicReferenceArray a = new AtomicReferenceArray(10000);
+        for (int i = 0; i < 100000; i++) {
+            a.getAndSet(9999, new Object());
+            if (i > 99990) System.gc();
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6855215.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6855215
+ * @summary Calculation error (NaN) after about 1500 calculations
+ *
+ * @run main/othervm -Xbatch -XX:UseSSE=0 compiler.c1.Test6855215
+ */
+
+package compiler.c1;
+
+public class Test6855215 {
+    private double m;
+    private double b;
+
+    public static double log10(double x) {
+        return Math.log(x) / Math.log(10);
+    }
+
+    void calcMapping(double xmin, double xmax, double ymin, double ymax) {
+        m = (ymax - ymin) / (log10(xmax) - log10(xmin));
+        b = (log10(xmin) * ymax - log10(xmax) * ymin);
+    }
+
+    public static void main(String[] args) {
+        Test6855215 c = new Test6855215();
+        for (int i = 0; i < 30000; i++) {
+            c.calcMapping(91, 121, 177, 34);
+            if (c.m != c.m) {
+                throw new InternalError();
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test6932496.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,194 @@
+/*
+ * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6932496
+ * @summary incorrect deopt of jsr subroutine on 64 bit c1
+ * @modules java.base/jdk.internal.org.objectweb.asm
+ *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,compiler.c1.Test6932496::test
+ *      compiler.c1.Test6932496
+ */
+
+package compiler.c1;
+
+import jdk.internal.org.objectweb.asm.ClassWriter;
+import jdk.internal.org.objectweb.asm.FieldVisitor;
+import jdk.internal.org.objectweb.asm.Label;
+import jdk.internal.org.objectweb.asm.MethodVisitor;
+import jdk.internal.org.objectweb.asm.Opcodes;
+import jdk.internal.org.objectweb.asm.Type;
+
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.nio.file.Files;
+import java.nio.file.Paths;
+
+public class Test6932496 extends ClassLoader {
+    private static final int CLASS_FILE_VERSION = 49;
+    private static final String CLASS_TEST = "Test";
+    private static final String CLASS_OBJECT = "java/lang/Object";
+    private static final String METHOD_INIT = "<init>";
+    private static final String METHOD_TEST = "test";
+    private static final String DESC_VOID_METHOD = "()V";
+    private static final String FIELD_FLAG = "flag";
+
+    public static void main(String[] args) {
+        Test6932496 test = new Test6932496();
+        test.execute();
+    }
+
+    private void execute() {
+        byte[] bytecode = Test6932496.generateTestClass();
+
+        try {
+            Files.write(Paths.get("Test.class.dump"), bytecode);
+        } catch (IOException e) {
+            System.err.println("classfile dump failed : " + e.getMessage());
+            e.printStackTrace();
+        }
+        try {
+            Class aClass = defineClass(CLASS_TEST, bytecode, 0, bytecode.length);
+            Method test = aClass.getDeclaredMethod(METHOD_TEST);
+            test.invoke(null);
+        } catch (ClassFormatError | IllegalArgumentException
+                    | ReflectiveOperationException e) {
+            throw new RuntimeException("TESTBUG : generated class is invalid", e);
+        }
+    }
+
+    /*
+        public class Test {
+            volatile boolean flag = false;
+            public static void m() {
+                try {
+                } finally {
+                    Test test = new Test();
+                    test.flag = true;
+                }
+            }
+        }
+    */
+    private static byte[] generateTestClass() {
+        ClassWriter cw = new ClassWriter(0);
+        cw.visit(CLASS_FILE_VERSION, Opcodes.ACC_PUBLIC + Opcodes.ACC_SUPER,
+                CLASS_TEST, null, CLASS_OBJECT, null);
+        // volatile boolean flag;
+        {
+            FieldVisitor fv = cw.visitField(Opcodes.ACC_VOLATILE, FIELD_FLAG,
+                    Type.BOOLEAN_TYPE.getDescriptor(),
+                    /* signature = */ null, /* value = */ null);
+        }
+
+        /*
+            public Test() {
+                flag = false;
+            }
+        */
+        {
+            MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC,
+                    METHOD_INIT, DESC_VOID_METHOD,
+                    /* signature = */ null, /* exceptions = */ null);
+
+            mv.visitCode();
+            mv.visitVarInsn(Opcodes.ALOAD, 0);
+            mv.visitMethodInsn(Opcodes.INVOKESPECIAL, CLASS_OBJECT, METHOD_INIT,
+                    DESC_VOID_METHOD, false);
+
+            mv.visitVarInsn(Opcodes.ALOAD, 0);
+            mv.visitInsn(Opcodes.ICONST_0);
+            mv.visitFieldInsn(Opcodes.PUTFIELD, CLASS_TEST, FIELD_FLAG,
+                    Type.BOOLEAN_TYPE.getDescriptor());
+
+            mv.visitInsn(Opcodes.RETURN);
+            mv.visitMaxs(/* stack = */ 2, /* locals = */ 1);
+            mv.visitEnd();
+        }
+
+        /*
+            public static void m() {
+                try {
+                } finally {
+                    Test test = new Test();
+                    test.flag = true;
+                }
+            }
+        */
+        {
+            MethodVisitor mv = cw.visitMethod(
+                    Opcodes.ACC_STATIC + Opcodes.ACC_PUBLIC,
+                    METHOD_TEST, DESC_VOID_METHOD,
+                    /* signature = */ null, /* exceptions = */ null);
+            Label beginLabel = new Label();
+            Label block1EndLabel = new Label();
+            Label handlerLabel = new Label();
+            Label block2EndLabel = new Label();
+            Label label = new Label();
+            Label endLabel = new Label();
+
+            mv.visitCode();
+            mv.visitTryCatchBlock(beginLabel, block1EndLabel, handlerLabel,
+                    /* type = <any> */ null);
+            mv.visitTryCatchBlock(handlerLabel, block2EndLabel, handlerLabel,
+                    /* type = <any> */ null);
+
+            mv.visitLabel(beginLabel);
+            mv.visitJumpInsn(Opcodes.JSR, label);
+            mv.visitLabel(block1EndLabel);
+            mv.visitJumpInsn(Opcodes.GOTO, endLabel);
+
+            mv.visitLabel(handlerLabel);
+            mv.visitVarInsn(Opcodes.ASTORE, 0);
+            mv.visitJumpInsn(Opcodes.JSR, label);
+            mv.visitLabel(block2EndLabel);
+            mv.visitVarInsn(Opcodes.ALOAD, 0);
+            mv.visitInsn(Opcodes.ATHROW);
+
+            mv.visitLabel(label);
+            mv.visitVarInsn(Opcodes.ASTORE, 1);
+            mv.visitTypeInsn(Opcodes.NEW, CLASS_TEST);
+            mv.visitInsn(Opcodes.DUP);
+            mv.visitMethodInsn(Opcodes.INVOKESPECIAL, CLASS_TEST, METHOD_INIT,
+                    DESC_VOID_METHOD);
+            mv.visitVarInsn(Opcodes.ASTORE, 2);
+
+            mv.visitVarInsn(Opcodes.ALOAD, 2);
+            mv.visitInsn(Opcodes.ICONST_1);
+            mv.visitFieldInsn(Opcodes.PUTFIELD, CLASS_TEST, FIELD_FLAG,
+                    Type.BOOLEAN_TYPE.getDescriptor());
+
+            mv.visitVarInsn(Opcodes.RET, 1);
+
+            mv.visitLabel(endLabel);
+            mv.visitInsn(Opcodes.RETURN);
+            mv.visitMaxs(/* stack = */ 2, /* locals = */ 3);
+            mv.visitEnd();
+        }
+
+        cw.visitEnd();
+        return cw.toByteArray();
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test7042153.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 7042153
+ * @summary Bad folding of IfOps with unloaded constant arguments in C1
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test7042153
+ */
+
+package compiler.c1;
+
+public class Test7042153 {
+    static public class Bar { }
+    static public class Foo { }
+
+    static volatile boolean z;
+    public static void main(String [] args) {
+        Class cx = Bar.class;
+        Class cy = Foo.class;
+        z = (cx == cy);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test7090976.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 7090976
+ * @summary Eclipse/CDT causes a JVM crash while indexing C++ code
+ *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
+ *      compiler.c1.Test7090976
+ */
+
+package compiler.c1;
+
+public class Test7090976 {
+
+    static interface I1 {
+        public void m1();
+    };
+
+    static interface I2 {
+        public void m2();
+    };
+
+    static interface I extends I1,I2 {
+    }
+
+    static class A implements I1 {
+        int v = 0;
+        int v2;
+
+        public void m1() {
+            v2 = v;
+        }
+    }
+
+    static class B implements I2 {
+        Object v = new Object();
+        Object v2;
+
+        public void m2() {
+            v2 = v;
+        }
+    }
+
+    private void test(A a)
+    {
+        if (a instanceof I) {
+            I i = (I)a;
+            i.m1();
+            i.m2();
+        }
+    }
+
+    public static void main(String[] args)
+    {
+        Test7090976 t = new Test7090976();
+        A a = new A();
+        B b = new B();
+        for (int i = 0; i < 10000; i++) {
+            t.test(a);
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test7103261.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,112 @@
+/*
+ * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 7103261
+ * @summary crash with jittester on sparc
+ *
+ * @run main compiler.c1.Test7103261
+ */
+
+package compiler.c1;
+
+// exercise implicit null checking in the compiler for various field types
+public class Test7103261 {
+    static Test7103261 null_value;
+    static Test7103261 nonnull_value = new Test7103261();
+    static Test7103261 nonnull_value2 = new Test7103261();
+
+    long l;
+    int i;
+    float f;
+    double d;
+    byte b;
+    char c;
+    short s;
+    boolean z;
+    Object o;
+
+    public static void main(String[] args) {
+        constantStore();
+        valueTest(false);
+        valueTest(true);
+    }
+    static void constantStore() {
+        for (int field = 0; field < 9; field++) {
+            try {
+                Test7103261 o = nonnull_value;
+                for (int i = 0; i < 100000; i++) {
+                    switch (field) {
+                    case 0: o.l = 0; break;
+                    case 1: o.i = 0; break;
+                    case 2: o.f = 0; break;
+                    case 3: o.d = 0; break;
+                    case 4: o.b = 0; break;
+                    case 5: o.c = 0; break;
+                    case 6: o.s = 0; break;
+                    case 7: o.z = false; break;
+                    case 8: o.o = null; break;
+                    default: throw new InternalError();
+                    }
+                    if (i == 90000) {
+                        // hide nullness from optimizer
+                        o = null_value;
+                    }
+                }
+            } catch (NullPointerException npe) {
+            }
+        }
+    }
+    static void valueTest(boolean store) {
+        for (int field = 0; field < 9; field++) {
+            try {
+                Test7103261 o  = nonnull_value;
+                Test7103261 o2 = nonnull_value2;
+                for (int i = 0; i < 100000; i++) {
+                    switch (field) {
+                    case 0: o.l = o2.l; break;
+                    case 1: o.i = o2.i; break;
+                    case 2: o.f = o2.f; break;
+                    case 3: o.d = o2.d; break;
+                    case 4: o.b = o2.b; break;
+                    case 5: o.c = o2.c; break;
+                    case 6: o.s = o2.s; break;
+                    case 7: o.z = o2.z; break;
+                    case 8: o.o = o2.o; break;
+                    default: throw new InternalError();
+                    }
+                    if (i == 90000) {
+                        // hide nullness from optimizer
+                        if (store)
+                            o = null_value;
+                        else
+                            o2 = null_value;
+                    }
+                }
+            } catch (NullPointerException npe) {
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test7123108.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 7123108
+ * @summary C1 crashes with assert(if_state != NULL) failed: states do not match up
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test7123108
+ */
+
+package compiler.c1;
+
+public class Test7123108 {
+
+    static class Test_Class_0 {
+        final static byte var_2 = 67;
+        byte var_3;
+    }
+
+    Object var_25 = "kgfpyhcms";
+    static long var_27 = 6899666748616086528L;
+
+    static float func_1()
+    {
+        return 0.0F;
+    }
+
+    private void test()
+    {
+        "dlwq".charAt(((short)'x' > var_27 | func_1() <= (((Test_Class_0)var_25).var_3) ? true : true) ? Test_Class_0.var_2 & (short)-1.1173839E38F : 'Y');
+    }
+
+    public static void main(String[] args)
+    {
+        Test7123108 t = new Test7123108();
+        try {
+            t.test();
+        } catch (Throwable e) { }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test8004051.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 8004051
+ * @bug 8005722
+ * @summary assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
+ *
+ * @run main/othervm -Xcomp compiler.c1.Test8004051
+ */
+
+package compiler.c1;
+
+public class Test8004051 {
+    public static void main(String[] argv) {
+        Object o = new Object();
+        fillPrimRect(1.1f, 1.2f, 1.3f, 1.4f,
+                     o, o,
+                     1.5f, 1.6f, 1.7f, 1.8f,
+                     2.0f, 2.1f, 2.2f, 2.3f,
+                     2.4f, 2.5f, 2.6f, 2.7f,
+                     100, 101);
+        System.out.println("Test passed, test did not assert");
+    }
+
+    static boolean fillPrimRect(float x, float y, float w, float h,
+                                Object rectTex, Object wrapTex,
+                                float bx, float by, float bw, float bh,
+                                float f1, float f2, float f3, float f4,
+                                float f5, float f6, float f7, float f8,
+                                int i1, int i2 ) {
+        System.out.println(x + " " + y + " " + w + " " + h + " " +
+                           bx + " " + by + " " + bw + " " + bh);
+        return true;
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test8011706.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,68 @@
+/*
+ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/*
+ * @test
+ * @bug 8011706
+ * @summary loop invariant code motion may move load before store to the same field
+ *
+ * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation
+ *      compiler.c1.Test8011706
+ */
+
+package compiler.c1;
+
+public class Test8011706 {
+    int[] array;
+
+    void m(boolean test, int[] array1, int[] array2) {
+        int i = 0;
+        if (test) {
+            array = array1;
+        } else {
+            array = array2;
+        }
+
+        while(true) {
+            int v = array[i];
+            i++;
+            if (i >= 10) return;
+        }
+    }
+
+    static public void main(String[] args) {
+        int[] new_array = new int[10];
+        Test8011706 ti = new Test8011706();
+        boolean failed = false;
+        try {
+            for (int i = 0; i < 10000; i++) {
+                ti.array = null;
+                ti.m(true, new_array, new_array);
+            }
+        } catch(NullPointerException ex) {
+            throw new RuntimeException("TEST FAILED", ex);
+        }
+        System.out.println("TEST PASSED");
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/Test8011771.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+/*
+ * @test
+ * @bug 8011771
+ * @summary Array bound check elimination's in block motion doesn't always reset its data structures from one step to the other.
+ *
+ * @run main/othervm -XX:-BackgroundCompilation compiler.c1.Test8011771
+ */
+
+package compiler.c1;
+
+public class Test8011771 {
+
+    static void m(int[] a, int[] b, int j) {
+        // Array bound check elimination inserts a predicate before
+        // the loop. We'll have the predicate fail, so the method is
+        // recompiled without optimistic optimizations
+        for (int i = 0; i < 10; i++) {
+            a[i] = i;
+        }
+
+        // The test itself
+        a[j] = 0;
+        a[j+5] = 0;
+        b[j+4] = 0; // this range check shouldn't be eliminated
+    }
+
+    static public void main(String[] args) {
+        int[] arr1 = new int[10], arr2 = new int[10];
+        // force compilation:
+        for (int i = 0; i < 5000; i++) {
+            m(arr1, arr2, 0);
+        }
+
+        try {
+            m(new int[1], null, 0); // force predicate failure
+        } catch(ArrayIndexOutOfBoundsException e) {}
+
+        // force compilation again (no optimistic opts):
+        for (int i = 0; i < 5000; i++) {
+            m(arr1, arr2, 0);
+        }
+
+        // Check that the range check  on the second array wasn't optimized out
+        boolean success = false;
+        try {
+            m(arr1, new int[1], 0);
+        } catch(ArrayIndexOutOfBoundsException e) {
+            success = true;
+        }
+        if (success) {
+            System.out.println("TEST PASSED");
+        } else {
+            throw new RuntimeException("TEST FAILED: erroneous bound check elimination");
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/TestArrayCopy.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6769124
+ * @summary arraycopy may crash the VM with c1 on 64 bit
+ *
+ * @run main compiler.c1.TestArrayCopy
+ */
+
+package compiler.c1;
+
+public class TestArrayCopy {
+
+    public static void main(String[] args) {
+
+        int k = 1 << 31;
+
+
+        for(int j = 0; j <1000000; j++) {
+            int i = -1;
+            while(i < 10) {
+                i++;
+            }
+
+            int m = k * i;
+
+            int[] O1 = new int[20];
+            int[] O2 = new int[20];
+
+            System.arraycopy(O1, i, O2, i, 1); //will crash on amd64
+            System.arraycopy(O1, m, O2, m, 1); //will crash on sparcv9
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/TestDeoptInt.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6769124
+ * @summary int value might not be correctly decoded on deopt with c1 on 64 bit
+ *
+ * @run main/othervm -Xcomp
+ *      -XX:CompileCommand=compileonly,compiler.c1.TestDeoptInt::m
+ *      compiler.c1.TestDeoptInt
+ */
+
+package compiler.c1;
+
+public class TestDeoptInt {
+
+    static class A {
+        volatile int vl;
+        A(int v) {
+            vl = v;
+        }
+    }
+
+    static void m(int b) {
+        A a = new A(10);
+        int c;
+        c = b + a.vl; //accessing volatile field of class not loaded at compile time forces a deopt
+        if(c != 20) {
+            System.out.println("a (= " + a.vl + ") + b (= " + b + ") = c (= " + c + ") != 20");
+            throw new InternalError();
+        }
+    }
+
+    public static void main(String[] args) {
+        m(10);
+    }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspot/test/compiler/c1/TestUnalignedLoad.java	Tue Jul 12 18:24:48 2016 +0300
@@ -0,0 +1,73 @@
+/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ *
+ */
+
+/**
+ * @test
+ * @bug 6769124
+ * @summary unaligned load may fail with c1 on 64 bit
+ *
+ * @run main compiler.c1.TestUnalignedLoad
+ */
+
+package compiler.c1;
+
+public class TestUnalignedLoad {
+
+    static long l1v = 0x200000003L;
+    static long l2v = 0x400000005L;
+    static double d1v = Double.MAX_VALUE;
+    static double d2v = Double.MIN_VALUE;
+
+    public static void main(String[] args) {
+        long l1 = l1v;
+        double d1 = d1v;
+        long l2 = l2v;
+        double d2 = d2v;
+
+        // Run long enough to induce an OSR
+        for (int i = 0; i < 10000000; i++) {
+        }
+        boolean error = false;
+
+        if (l1 != l1v) {
+            System.out.println(l1 + " != " + l1v);
+            error = true;
+        }
+        if (l2 != l2v) {
+            System.out.println(l2 + " != " + l2v);
+            error = true;
+        }
+        if (d1 != d1v) {
+            System.out.println(d1 + " != " + d1v);
+            error = true;
+        }
+        if (d2 != d2v) {
+            System.out.println(d2 + " != " + d2v);
+            error = true;
+        }
+        if (error) {
+            throw new InternalError();
+        }
+    }
+}
--- a/hotspot/test/compiler/c2/5057225/Test5057225.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-/*
- * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/**
- * @test
- * @bug 5057225
- * @summary Remove useless I2L conversions
- * @modules java.base/jdk.internal.misc
- * @library /testlibrary
- * @run main/othervm -Xcomp -XX:CompileOnly=Test5057225.doload Test5057225
- */
-
-import jdk.test.lib.Utils;
-
-public class Test5057225 {
-    static byte[]  ba = new byte[]  { -1 };
-    static short[] sa = new short[] { -1 };
-    static int[]   ia = new int[]   { -1 };
-
-    static final long[] BYTE_MASKS = {
-         0x0FL,
-         0x7FL,  // 7-bit
-         0xFFL,
-    };
-
-    static final long[] SHORT_MASKS = {
-        0x000FL,
-        0x007FL,  // 7-bit
-        0x00FFL,
-        0x0FFFL,
-        0x3FFFL,  // 14-bit
-        0x7FFFL,  // 15-bit
-        0xFFFFL,
-    };
-
-    static final long[] INT_MASKS = {
-        0x0000000FL,
-        0x0000007FL,  // 7-bit
-        0x000000FFL,
-        0x00000FFFL,
-        0x00003FFFL,  // 14-bit
-        0x00007FFFL,  // 15-bit
-        0x0000FFFFL,
-        0x00FFFFFFL,
-        0x7FFFFFFFL,  // 31-bit
-        0xFFFFFFFFL,
-    };
-
-    public static void main(String[] args) throws Exception {
-        for (int i = 0; i < BYTE_MASKS.length; i++) {
-            System.setProperty("value", "" + BYTE_MASKS[i]);
-            loadAndRunClass("Test5057225$loadUB2L");
-        }
-
-        for (int i = 0; i < SHORT_MASKS.length; i++) {
-            System.setProperty("value", "" + SHORT_MASKS[i]);
-            loadAndRunClass("Test5057225$loadUS2L");
-        }
-
-        for (int i = 0; i < INT_MASKS.length; i++) {
-            System.setProperty("value", "" + INT_MASKS[i]);
-            loadAndRunClass("Test5057225$loadUI2L");
-        }
-    }
-
-    static void check(long result, long expected) {
-        if (result != expected)
-            throw new InternalError(result + " != " + expected);
-    }
-
-    static void loadAndRunClass(String classname) throws Exception {
-        Class cl = Class.forName(classname);
-        ClassLoader apploader = cl.getClassLoader();
-        ClassLoader loader
-                = Utils.getTestClassPathURLClassLoader(apploader.getParent());
-        Class c = loader.loadClass(classname);
-        Runnable r = (Runnable) c.newInstance();
-        r.run();
-    }
-
-    public static class loadUB2L implements Runnable {
-        static final long MASK;
-        static {
-            long value = 0;
-            try {
-                value = Long.decode(System.getProperty("value"));
-            } catch (Throwable e) {}
-            MASK = value;
-        }
-
-        public void run() { check(doload(ba), MASK); }
-        static long doload(byte[] ba) { return ba[0] & MASK; }
-    }
-
-    public static class loadUS2L implements Runnable {
-        static final long MASK;
-        static {
-            long value = 0;
-            try {
-                value = Long.decode(System.getProperty("value"));
-            } catch (Throwable e) {}
-            MASK = value;
-        }
-
-        public void run() { check(doload(sa), MASK); }
-        static long doload(short[] sa) { return sa[0] & MASK; }
-    }
-
-    public static class loadUI2L implements Runnable {
-        static final long MASK;
-        static {
-            long value = 0;
-            try {
-                value = Long.decode(System.getProperty("value"));
-            } catch (Throwable e) {}
-            MASK = value;
-        }
-
-        public void run() { check(doload(ia), MASK); }
-        static long doload(int[] ia) { return ia[0] & MASK; }
-    }
-}
--- a/hotspot/test/compiler/c2/5091921/Test5091921.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,309 +0,0 @@
-/*
- * Copyright (c) 2011 Hewlett-Packard Company. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- *
- */
-
-/**
- * @test
- * @bug 5091921
- * @summary Sign flip issues in loop optimizer
- *
- * @run main/othervm -Xcomp -XX:CompileOnly=Test5091921 -XX:MaxInlineSize=1 Test5091921
- */
-
-public class Test5091921 {
-  private static int result = 0;
-
-
-  /* Test for the bug of transforming indx >= MININT to indx > MININT-1 */
-  public static int test_ge1(int limit) {
-    int indx;
-    int sum = 0;
-    for (indx = 500; indx >= limit; indx -= 2) {
-      sum += 2000 / indx;
-      result = sum;
-    }
-    return sum;
-  }
-
-  /* Test for the bug of transforming indx <= MAXINT to indx < MAXINT+1 */
-  public static int test_le1(int limit) {
-    int indx;
-    int sum = 0;
-    for (indx = -500; indx <= limit; indx += 2)
-    {
-      sum += 3000 / indx;
-      result = sum;
-    }
-    return sum;
-  }
-
-  /* Run with -Xcomp -XX:CompileOnly=wrap1.test1 -XX:MaxInlineSize=1 */
-  /* limit reset to ((limit-init+stride-1)/stride)*stride+init */
-  /* Calculation may overflow */
-  public static volatile int c = 1;
-  public static int test_wrap1(int limit)
-  {
-    int indx;
-    int sum = 0;
-    for (indx = 0xffffffff; indx < limit; indx += 0x20000000)
-    {
-      sum += c;
-    }
-    return sum;
-  }
-
-  /* Test for range check elimination with bit flip issue for
-     scale*i+offset<limit where offset is not 0 */
-  static int[] box5 = {1,2,3,4,5,6,7,8,9};
-  public static int test_rce5(int[] b, int limit)
-  {
-    int indx;
-    int sum = b[1];
-    result = sum;
-    for (indx = 0x80000000; indx < limit; ++indx)
-    {
-      if (indx > 0x80000000)
-      {
-        // this test is not issued in pre-loop but issued in main loop
-        // trick rce into thinking expression is false when indx >= 0
-        // in fact it is false when indx==0x80000001
-        if (indx - 9 < -9)
-        {
-          sum += indx;
-          result = sum;
-          sum ^= b[indx & 7];
-          result = sum;
-        }
-        else
-          break;
-      }
-      else
-      {
-        sum += b[indx & 3];
-        result = sum;
-      }
-    }
-    return sum;
-  }
-
-  /* Test for range check elimination with bit flip issue for
-     scale*i<limit where scale > 1 */
-  static int[] box6 = {1,2,3,4,5,6,7,8,9};
-  public static int test_rce6(int[] b, int limit)
-  {
-    int indx;
-    int sum = b[1];
-    result = sum;
-    for (indx = 0x80000000; indx < limit; ++indx)
-    {
-      if (indx > 0x80000000)
-      {
-        // harmless rce target
-        if (indx < 0)
-        {
-          sum += result;
-          result = sum;
-        }
-        else
-          break;
-        // this test is not issued in pre-loop but issued in main loop
-        // trick rce into thinking expression is false when indx >= 0
-        // in fact it is false when indx==0x80000001
-        // In compilers that transform mulI to shiftI may mask this issue.
-        if (indx * 28 + 1 < 0)
-        {
-          sum += indx;
-          result = sum;
-          sum ^= b[indx & 7];
-          result = sum;
-        }
-        else
-          break;
-      }
-      else
-      {
-        sum += b[indx & 3];
-        result = sum;
-      }
-    }
-    return sum;
-  }
-
-  /* Test for range check elimination with i <= limit */
-  static int[] box7 = {1,2,3,4,5,6,7,8,9,0x7fffffff};
-  public static int test_rce7(int[] b)
-  {
-    int indx;
-    int max = b[9];
-    int sum = b[7];
-    result = sum;
-    for (indx = 0; indx < b.length; ++indx)
-    {
-      if (indx <= max)
-      {
-        sum += (indx ^ 15) + ((result != 0) ? 0 : sum);
-        result = sum;
-      }
-      else
-        throw new RuntimeException();
-    }
-    for (indx = -7; indx < b.length; ++indx)
-    {
-      if (indx <= 9)
-      {
-        sum += (sum ^ 15) + ((result != 0) ? 0 : sum);
-        result = sum;
-      }
-      else
-        throw new RuntimeException();
-    }
-    return sum;
-  }
-
-  /* Test for range check elimination with i >= limit */
-  static int[] box8 = {-1,0,1,2,3,4,5,6,7,8,0x80000000};
-  public static int test_rce8(int[] b)
-  {
-    int indx;
-    int sum = b[5];
-    int min = b[10];
-    result = sum;
-    for (indx = b.length-1; indx >= 0; --indx)
-    {
-      if (indx >= min)
-      {
-        sum += (sum ^ 9) + ((result != 0) ? 0 :sum);
-        result = sum;
-      }
-      else
-        throw new RuntimeException();
-    }
-    return sum;
-  }
-
-  public static void main(String[] args)
-  {
-    result=1;
-    int r = 0;
-    try {
-      r = test_ge1(0x80000000);
-      System.out.println(result);
-      System.out.println("test_ge1 FAILED");
-      System.exit(1);
-    }
-    catch (ArithmeticException e1) {
-      System.out.println("test_ge1: Expected exception caught");
-      if (result != 5986) {
-        System.out.println(result);
-        System.out.println("test_ge1 FAILED");
-        System.exit(97);
-      }
-    }
-    System.out.println("test_ge1 WORKED");
-
-    result=0;
-    try
-    {
-      r = test_le1(0x7fffffff);
-      System.out.println(result);
-      System.out.println("test_le1 FAILED");
-      System.exit(1);
-    }
-    catch (ArithmeticException e1)
-    {
-      System.out.println("test_le1: Expected exception caught");
-      if (result != -9039)
-      {
-        System.out.println(result);
-        System.out.println("test_le1 FAILED");
-        System.exit(97);
-      }
-    }
-    System.out.println("test_le1 WORKED");
-
-    result=0;
-    r = test_wrap1(0x7fffffff);
-    if (r != 4)
-    {
-      System.out.println(result);
-      System.out.println("test_wrap1 FAILED");
-      System.exit(97);
-    }
-    else
-    {
-      System.out.println("test_wrap1 WORKED");
-    }
-
-    result=0;
-    r = test_rce5(box5,0x80000100);
-    if (result != 3)
-    {
-      System.out.println(result);
-      System.out.println("test_rce5 FAILED");
-      System.exit(97);
-    }
-    else
-    {
-      System.out.println("test_rce5 WORKED");
-    }
-
-    result=0;
-    r = test_rce6(box6,0x80000100);
-    if (result != 6)
-    {
-      System.out.println(result);
-      System.out.println("test_rce6 FAILED");
-      System.exit(97);
-    }
-    else
-    {
-      System.out.println("test_rce6 WORKED");
-    }
-
-    result=0;
-    r = test_rce7(box7);
-    if (result != 14680079)
-    {
-      System.out.println(result);
-      System.out.println("test_rce7 FAILED");
-      System.exit(97);
-    }
-    else
-    {
-      System.out.println("test_rce7 WORKED");
-    }
-
-    result=0;
-    r = test_rce8(box8);
-    if (result != 16393)
-    {
-      System.out.println(result);
-      System.out.println("test_rce8 FAILED");
-      System.exit(97);
-    }
-    else
-    {
-      System.out.println("test_rce8 WORKED");
-    }
-  }
-}
--- a/hotspot/test/compiler/c2/5091921/Test6186134.java	Tue Jul 12 08:42:46 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Found