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

Java language needs reallocation mechanism for arrays

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs
    • x86
    • windows_nt



      Name: rm29839 Date: 06/15/98


      Java language needs reallocation mechanism for arrays
      like realloc function in C and GlobalRealloc in Windows.
      Using this function core Java classes like Vector
      can be reimplemented in more efficient way.
      It can _really_ speed up all Java programs.

      For example it can be just a method in System class:
      public static Object reallocate (Object array, int newSize);

      which can return the same object or the new one with new size.
      (Review ID: 33606)
      ======================================================================

            mmcclosksunw Michael Mccloskey (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: