[
https://issues.jboss.org/browse/WFLY-10025?page=com.atlassian.jira.plugin...
]
Scott Marlow commented on WFLY-10025:
-------------------------------------
Thanks for the example! I'll start with adding org.jboss.modules.ClassTransformer but
will also keep the java.lang.instrument.ClassFileTransformer implementation until we
update DelegatingClassFileTransformer to support org.jboss.modules.ClassTransformer.
Use new org.jboss.modules.ClassTransformer interface instead of
j.l.i.ClassFileTransformer
------------------------------------------------------------------------------------------
Key: WFLY-10025
URL:
https://issues.jboss.org/browse/WFLY-10025
Project: WildFly
Issue Type: Enhancement
Components: JPA / Hibernate
Reporter: David Lloyd
Assignee: Scott Marlow
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)