Details

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

      Operating System: other
      Platform: All

    • Bugzilla Id:
      38792

      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).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: