glassfish
  1. glassfish
  2. GLASSFISH-15141

[PERF] Too much serialization in HA runs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1_b31
    • Fix Version/s: 3.1_b34
    • Component/s: failover
    • Labels:
      None

      Description

      Profiling of jservet with HA enabled (web container only) shows a large amount of time spent serializing byte arrays in v3.1 – 50% more than in v2.1.

      I instrumented the writeArray() method in java.io.ObjectOutputStream; we are calling it a lot more in 3.1 than in 2.1 For a single method call in 3.1, I see 13 calls to writeArray for byte arras; a total of 195K. In 2.1, that same method call only serializes 4 byte arrays for 20K bytes.

        Activity

        Hide
        Mahesh Kannan added a comment -

        Scott has confirmed that he no longer sees this with b33. So marking this as resolved

        Show
        Mahesh Kannan added a comment - Scott has confirmed that he no longer sees this with b33. So marking this as resolved

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            Scott Oaks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: