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

Replace GrowableArray in ComputeMoveOrder with hash table

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • core-libs
    • None

      ComputeMoveOrder::compute_store_order uses a table in the form of a GrowableArray which is used to record which move operations will kill which registers.

      This array can be very sparsely populated.

      This GrowableArray should really be replaced by a hash table, which doesn't waste as much space.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: