Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10025

Use new org.jboss.modules.ClassTransformer interface instead of j.l.i.ClassFileTransformer

    XMLWordPrintable

Details

    Description

      The JPA classes use java.lang.instrument.ClassFileTransformer for class transformation, however this style of transformer incurs an extra whole-byte-array copy when loading memory-mapped classes or using other resource loaders which operate on byte buffers.

      After the Modules 1.8.0.Final upgrade, switch to using org.jboss.modules.ClassTransformer instead.

      Attachments

        Issue Links

          Activity

            People

              smarlow1@redhat.com Scott Marlow
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: