Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19319

Type check misses

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0-M2
    • 4.0-RC1
    • came-core
    • None
    • Unknown

    Description

      Within the core code there are many circumstances where the type checks performed by our code, causes the JVM to miss a cache hit and enter a slower code path.

      This can be caused when type check (such as an instanceof check) fails for a class instance which implements multiple types (incurring in both a cache a traversal of the secondary supers ArrayList).

      The type-pollution-agent can be used to identify where this happen. A report is attached to this ticket.

      Attachments

        1. type-check-report.txt
          236 kB
          Otavio Rodolfo Piske

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: