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

Replace GrowableArray in ComputeMoveOrder with hash table

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: