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

Detach the object before calculating its size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.2.0, 1.5.9
    • 6.3.0, 1.5.10
    • wicket
    • None

    Description

      The debug panel in wicket-devutils uses WicketObjects#sizeOf() to calculate
      the size of the page and the session.

      The "problem" that I see is that it calculates the size of the non-detached
      object. I think what really matters is the size after detaching it, because
      this is what is being saved in the http session and the disk, and I guess
      this is what the developer needs to know actually.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: