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

java.util.ResourceBundle.getBundle is static synchronized

    XMLWordPrintable

Details

    • 1.2beta4
    • sparc
    • solaris_2.5.1
    • Not verified

    Description



      Name: ccC48265 Date: 12/23/97


      Would it be possible to unsynchonize the method in java.util.ResourceBundle?
      i.e.

           private static synchronized ResourceBundle
              getBundle(String baseName, Locale locale, ClassLoader loader)
              throws MissingResourceException

      We noticed in our server-side app that this can be a hot point of contention
      if one is allocating a lote of Date or formatting objects that require
      ResourceBundles.

      Maybe it would be possible to break this method down in sub-parts that
      require synchronization and allow the "main execution" flow to go through
      unsynchronized.
      (Review ID: 22361)
      ======================================================================

      Attachments

        Activity

          People

            rgillamsunw Richard Gillam (Inactive)
            ccresswesunw Claudette Cresswell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: