RFR(trival): 8224723: [TESTBUG] compiler/arraycopy/TestArrayCopyWithBadOffset.java failed

Wang Xue wangxue at loongson.cn
Fri May 24 07:12:05 UTC 2019


Hi all,

Bug:  https://bugs.openjdk.java.net/browse/JDK-8224723

It can be fixed by
---------------------------------------------------
diff -r ecb7b9a98f0e 
test/hotspot/jtreg/compiler/arraycopy/TestArrayCopyWithBadOffset.java
--- 
a/test/hotspot/jtreg/compiler/arraycopy/TestArrayCopyWithBadOffset.java 
Thu May 23 14:14:13 2019 -0700
+++ 
b/test/hotspot/jtreg/compiler/arraycopy/TestArrayCopyWithBadOffset.java 
Fri May 24 14:10:19 2019 +0800
@@ -25,6 +25,7 @@
   * @test
   * @bug 8224539
   * @summary Test arraycopy optimizations with bad src/dst array offsets.
+ * @requires (vm.debug == true)
   * @run main/othervm -Xbatch -XX:+AlwaysIncrementalInline
   * compiler.arraycopy.TestArrayCopyWithBadOffset
   */
---------------------------------------------------

Could you please review it?

Thanks,
Wang Xue




More information about the hotspot-compiler-dev mailing list