Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4820

Race condition in ResourceSettings: getResourceWatcher() is not thread safe

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.8, 6.1.1
    • 6.2.0, 1.5.9
    • wicket
    • None

    Description

      o.a.w.settings.def.ResourceSettings.getResourceWatcher() is not thread safe: when multiple requests are waiting to load markup for the first time (for example, start "ab" with -c 40 right after starting the wicket application) multiple ModificationWatcher threads are started which cause a memory leak when the WicketApplication is stopped.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            wk Wolfgang Kritzinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment