Uploaded image for project: 'Hibernate Validator'
  1. HV-1512

Improve initialization cost of all logger classes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.5.Final
    • Component/s: engine, performance
    • Labels:
      None

      Description

      We used to produce a stacktrace to make sure all Logger initializations would be "copy paste safe", considering the one-time initialization cost as a reasonable compromise.

      Since Java 7 we can improve this initialization cost by having a similar solution yet not requiring to fill in a whole stacktrace.

        Attachments

          Activity

            People

            • Assignee:
              sanne Sanne Grinovero
              Reporter:
              sanne Sanne Grinovero
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: