Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2651

Run type-pollution-agent

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.2.11
    • None
    • None
    • False
    • None
    • False

      https://github.com/RedHatPerf/type-pollution-agent

      Sample output on Perf:

      --------------------------
      Type Pollution Statistics:
      --------------------------
      1:	org.jgroups.tests.perf.PerfUtil$GetCall
      Count:	1143935
      Types:
      	org.jgroups.util.SizeStreamable
      	org.jgroups.util.Streamable
      Traces:
      	org.jgroups.util.Util.size(Util.java:800)
      		class: org.jgroups.util.SizeStreamable
      		count: 396540
      	org.jgroups.util.Util.objectToStream(Util.java:841)
      		class: org.jgroups.util.Streamable
      		count: 285271
      	org.jgroups.util.Util.readGenericStreamable(Util.java:1810)
      		class: org.jgroups.util.Streamable
      		count: 263840
      	org.jgroups.ObjectMessage.setObject(ObjectMessage.java:65)
      		class: org.jgroups.util.SizeStreamable
      		count: 133332
      	org.jgroups.util.Util.size(Util.java:801)
      		class: org.jgroups.util.SizeStreamable
      		count: 43534
      	org.jgroups.util.Util.objectToStream(Util.java:843)
      		class: org.jgroups.util.Streamable
      		count: 21418
      --------------------------
      2:	org.jgroups.protocols.PingData
      Count:	17
      Types:
      	org.jgroups.util.SizeStreamable
      	org.jgroups.util.Streamable
      Traces:
      	org.jgroups.util.Util.streamableToBuffer(Util.java:1171)
      		class: org.jgroups.util.SizeStreamable
      		count: 9
      	org.jgroups.util.Util.readStreamable(Util.java:1761)
      		class: org.jgroups.util.Streamable
      		count: 8
      --------------------------
      3:	org.jgroups.util.ObjectWrapper
      Count:	17
      Types:
      	org.jgroups.util.SizeStreamable
      	org.jgroups.util.Streamable
      Traces:
      	org.jgroups.util.Util.size(Util.java:800)
      		class: org.jgroups.util.SizeStreamable
      		count: 9
      	org.jgroups.util.Util.objectToStream(Util.java:841)
      		class: org.jgroups.util.Streamable
      		count: 5
      	org.jgroups.util.Util.readGenericStreamable(Util.java:1810)
      		class: org.jgroups.util.Streamable
      		count: 2
      	org.jgroups.util.Util.objectToStream(Util.java:843)
      		class: org.jgroups.util.Streamable
      		count: 1
      --------------------------
      

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: