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

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

    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

        1. WICKET-4820.zip
          26 kB
          Wolfgang Kritzinger

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: