Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-312

Review whether ReusableStringWriter helps more than it harms

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.11
    • Component/s: None
    • Labels:
      None

      Description

      While fixing LOG4NET-212 I (like the original reporter) wondered whether properly locking the ReusableStringWriter instances used in PatternConverter and AppenderSkeleton really provides any benefit over just creating fresh StringWriter instances rather than reusing existing ones.

      I came up with the idea that it may be better in memory pressured environments like phones thus I shied away from simply stop using ReusableStringWriter but that reason may simply be wrong (I don't have any real experience with compact framework and friends).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            bodewig Stefan Bodewig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development