Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: lang.*
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: All

      Description

      The static field PADDING allocates 262152 bytes for nothing.

      private static final String[] PADDING = new String[Character.MAX_VALUE];

      At least use lazy creation, better completely remove it (move to method) to save
      memory (Having 20 apps on one tomcat --> 5MB allocated for nothing).

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            sebastian.kirsch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development