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

Loading Properties files significantly slower than in 1.3.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • sparc
    • solaris_7

      Creating and loading a Properties file is significantly slower on 1.4 (beta_refresh build 76) than 1.3.1.

      My machine:
      SunOS zoz 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60

      I've attached a test case, pass in an arg gives the number of times to load the properties file. I've also attached the properties file I used, which is one of the property files swing loads.
      Running it with an arg of 1 on 1.3.1 results in a time of 7, and 1.4 a time of 110. Part of this discrepency is likely because of the additional classes in 1.4. Running it with an arg of 100 on 1.3.1 results in a best time of 205, vs 450 on 1.4.

      Note: This may in fact be a bug in io/nio but is manifesting itself in loading of properties files.

            mr Mark Reinhold
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: