8006031: LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640
authortwisti
Fri, 11 Jan 2013 14:07:09 -0800
changeset 15203 e0a182db881c
parent 15184 8d61668088ac
child 15204 a8960bf92b09
8006031: LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640 Reviewed-by: kvn
hotspot/src/share/vm/opto/library_call.cpp
--- a/hotspot/src/share/vm/opto/library_call.cpp	Fri Jan 11 02:02:51 2013 -0800
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Fri Jan 11 14:07:09 2013 -0800
@@ -3559,7 +3559,7 @@
 // public static <T,U> T[] java.util.Arrays.copyOf(     U[] original, int newLength,         Class<? extends T[]> newType);
 // public static <T,U> T[] java.util.Arrays.copyOfRange(U[] original, int from,      int to, Class<? extends T[]> newType);
 bool LibraryCallKit::inline_array_copyOf(bool is_copyOfRange) {
-  return false;
+  tty->print_cr("LibraryCallKit::inline_array_copyOf: %d", is_copyOfRange);
   if (too_many_traps(Deoptimization::Reason_intrinsic))  return false;
 
   // Get the arguments.