Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7617 Replace I18n Proxytoys with ByteBuddy
  3. MAGNOLIA-7431

Replace I18n Proxytoys instrumentation logic with ByteBuddy

    XMLWordPrintable

Details

    Description

      • CGLIB (and esp. Proxytoys) is not actively maintained at the moment whereas ByteBuddy is developed and updated on a regular basis and has a good support online by the author.
      • CGLIB generates proxy which does decoration/method dispatching in Runtime, adding quite a lot of penalty on interaction with enhanced definitions (any method call would result in reflection-based look-ups, annotation inspection etc). ByteBuddy in turn generates method bytecode that "fuses" the delegates in, resulting in close to none overhead in runtime.
      • ByteBuddy API and logic is much cleaner and elegant than of ProxyToys, which leads to the easier to maintain code on our side.

      Attachments

        Issue Links

          Activity

            People

              apchelintcev Aleksandr Pchelintcev
              apchelintcev Aleksandr Pchelintcev
              Foundation
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 5.5d
                  5.5d