[jboss-jira] [JBoss JIRA] (WFLY-10025) Use new org.jboss.modules.ClassTransformer interface instead of j.l.i.ClassFileTransformer
David Lloyd (JIRA)
issues at jboss.org
Wed Mar 14 15:49:00 EDT 2018
David Lloyd created WFLY-10025:
----------------------------------
Summary: 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)
More information about the jboss-jira
mailing list