changeset 4005:a3f92e6c0274

8006031: LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640 Reviewed-by: kvn
author twisti
date Fri, 11 Jan 2013 14:07:09 -0800
parents d58b7b43031b
children f9bda35f4226
files src/share/vm/opto/library_call.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp	Fri Jan 11 02:02:51 2013 -0800
+++ b/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.