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

GrowableArray should implement binary search

    XMLWordPrintable

Details

    Backports

      Description

        Binary search on a GrowableArray is used in a number of places (ciConstantPoolCache::find(), ciObjectFactory::find(), Compile::intrinsic_insertion_index()) and each time the same code is duplicated. It should be handled by GrowableArray itself.

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: