< prev index next > test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java
Print this page
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ // Note Lilliput:
+ // Tests rely on array members starting at the same offset, otherwise vectorization does not kick in. Not true
+ // for Lilliput.
+ // For now I just enforce -CompactObjectHeaders.
+
/*
* @test
* @bug 8304042
* @summary Test some examples with independent packs with cyclic dependency
* between the packs.
public static void main(String args[]) {
TestFramework.runWithFlags("--add-modules", "java.base", "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init",
! "-XX:LoopUnrollLimit=1000");
}
TestIndependentPacksWithCyclicDependency() {
// compute the gold standard in interpreter mode
init(goldI0, goldF0);
public static void main(String args[]) {
TestFramework.runWithFlags("--add-modules", "java.base", "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify",
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init",
! "-XX:LoopUnrollLimit=1000", "-XX:+UnlockExperimentalVMOptions", "-XX:-UseCompactObjectHeaders");
}
TestIndependentPacksWithCyclicDependency() {
// compute the gold standard in interpreter mode
init(goldI0, goldF0);
< prev index next >