Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-869

jvpp generates inefficient bindings

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • None
    • Java API binding

      Examining generated C code, it works mostly well, but it does not provide optimal performance because not all class references and non of method and field IDs are cached.

      All of these are invariants, hence should be loaded in cache_class_references(), so that the individual setter methods do not look them up, but rather reference cached value.

      Implementing this caching will trim down the upcalls to JVM by at least a half, producing significantly more performant code.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: