Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1826

Improved performance with new unsync IO classes

Details

    Description

      Java's standard IO classes all thread-safe. This means there's a lot of synchronized protection in these IO classes. If the classes are used in a single thread environment , the synchronization protection is unneeded and reduces performance. For this reason, a set of unsynchronized IO classes has been added

      UnsyncBufferedInputStream
      UnsyncBufferedOutputStream
      UnsyncByteArrayInputStream
      UnsyncByteArrayOutputStream
      UnsyncFilterInputStream
      UnsyncFilterOutputStream

      These classes work in the same manner as the standard IO classes but are not thread safe.

      Where applicable, the standard IO classes has been replaced the the unsync IO classes.

      Attachments

        Issue Links

          Activity

            People

              mingda.yi Kevin Yi (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)