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

Regexp classes loaded unecessarily

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • generic
    • generic

      Im Merlin b52 when httpClient.java is loaded, Regexp classes are also loaded, this is because there is a static reference to Regexp, in order to parse the dontProxy list. In most internet deployment a direct connection will always be used, in most intranet cases even if proxy servers are used, the dontProxy property may not be specified.

      Regexp classes add up to be about 89.65K worth of classes that the VM will load, leading to a longer startup time of the VM, and it will be worth
      our while to eliminate this, by loading the regexp class only if dontProxy list is set.

            alanb Alan Bateman
            ksrini Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: