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

Need an unsynchronized StringBuffer

XMLWordPrintable

    • tiger
    • generic, x86
    • generic, windows_2000



      Name: krT82822 Date: 08/11/99


      (see also 4092829 --kevin.ryan@eng, 8/11/99)

      Every modification to StringBuffer is synchronized, to make it
      thread safe. If a large string is being built from many small
      pieces, this can be a significant CPU drain. I have yet to
      encounter a situation where I am modifying a StringBuffer from
      multiple threads, so I would very much like a class just like
      StringBuffer that didn't synchronize.

      It would be nice if such a class was included in the java.lang
      package.
      (Review ID: 93768)
      ======================================================================

            mmcclosksunw Michael Mccloskey (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: