Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8006031

LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640

XMLWordPrintable

    • b16
    • generic
    • generic

        Doug Simon wrote:

        //------------------------inline_array_copyOf----------------------------
        // 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;
         if (too_many_traps(Deoptimization::Reason_intrinsic)) return false;

         ...


        Is that "return false" intentional?

        -Doug

              twisti Christian Thalinger (Inactive)
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: