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

Store command-line flags in a hashtable

XMLWordPrintable

      Currently JVMFlag::find_flag() does a linear search over 1000 flags. To speed up the processing of "java -XX" command-line flags, we should store these flags in a hashtable.

      Preferably the hashvalues should be computed at build time, so the run time cost of setting up the table can be minimized.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: