Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2497

Investigate usage of ConcurrentHashMap.size() in Liferay Faces Java classes

    Details

      Description

      During the JavaOne 2015 session titled Java SE 8 for Java EE Developers, the speaker indicated that ConcurrentHashMap.size() will cause all threads to block in a multi-threaded environment. In addition, the StackOverflow thread titled "ConcurrentHashMap size() performance" indicates that there could be a concurrency bottleneck.

      This issue serves as a task for investigating usage of ConcurrentHashMap.size() in Liferay Faces Java source files to see if the method ever gets called within the scope of a request.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                util-3.2.1