8006031: LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640
Reviewed-by: kvn
--- 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.