< prev index next >

test/hotspot/jtreg/compiler/arraycopy/TestEliminateArrayCopy.java

Print this page
rev 53300 : 8246153: TestEliminateArrayCopy fails with -XX:+StressReflectiveCode
Summary: Use the memory input instead of the control input to find the membar.
Reviewed-by: kvn, neliasso

*** 1,7 **** /* ! * Copyright (c) 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. --- 1,7 ---- /* ! * Copyright (c) 2015, 2020, 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.
*** 21,38 **** * questions. */ /* * @test ! * @bug 8076188 * @summary arraycopy to non escaping destination may be eliminated * @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 { --- 21,41 ---- * questions. */ /* * @test ! * @bug 8076188 8246153 * @summary arraycopy to non escaping destination may be eliminated * @library / * * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement * -XX:CompileCommand=dontinline,compiler.arraycopy.TestEliminateArrayCopy*::m* * compiler.arraycopy.TestEliminateArrayCopy ! * @run main/othervm -ea -XX:-BackgroundCompilation -XX:-UseOnStackReplacement ! * -XX:+IgnoreUnrecognizedVMOptions -XX:+StressReflectiveCode ! * -XX:CompileCommand=dontinline,compiler.arraycopy.TestEliminateArrayCopy*::m* ! * compiler.arraycopy.TestEliminateArrayCopy */ package compiler.arraycopy; public class TestEliminateArrayCopy {
< prev index next >