3557 |
3557 |
3558 //------------------------inline_array_copyOf---------------------------- |
3558 //------------------------inline_array_copyOf---------------------------- |
3559 // public static <T,U> T[] java.util.Arrays.copyOf( U[] original, int newLength, Class<? extends T[]> newType); |
3559 // public static <T,U> T[] java.util.Arrays.copyOf( U[] original, int newLength, Class<? extends T[]> newType); |
3560 // public static <T,U> T[] java.util.Arrays.copyOfRange(U[] original, int from, int to, Class<? extends T[]> newType); |
3560 // public static <T,U> T[] java.util.Arrays.copyOfRange(U[] original, int from, int to, Class<? extends T[]> newType); |
3561 bool LibraryCallKit::inline_array_copyOf(bool is_copyOfRange) { |
3561 bool LibraryCallKit::inline_array_copyOf(bool is_copyOfRange) { |
3562 return false; |
3562 tty->print_cr("LibraryCallKit::inline_array_copyOf: %d", is_copyOfRange); |
3563 if (too_many_traps(Deoptimization::Reason_intrinsic)) return false; |
3563 if (too_many_traps(Deoptimization::Reason_intrinsic)) return false; |
3564 |
3564 |
3565 // Get the arguments. |
3565 // Get the arguments. |
3566 Node* original = argument(0); |
3566 Node* original = argument(0); |
3567 Node* start = is_copyOfRange? argument(1): intcon(0); |
3567 Node* start = is_copyOfRange? argument(1): intcon(0); |