Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-161

JMX monitoring is extremely memory inefficient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Alpha11
    • None
    • Management
    • None

    Description

      When reading any JMX attribute(s), I have noticed a noticeable impact on the performance of our system. After attaching a profiler, I see that getting a single attribute of a JMX bean (either using remoting or using jconsole) is generating thousands of objects, that have to cleaned up by the GC. For instance, 6000 instances of the ModelNode class are created.

      A clone is made of the complete management model before executing any JMX operation. This happens in the OperationContextImpl.readResourceFromRoot class.

      More background on associated forum thread

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            janssk77 Koen Janssens (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: