[jboss-jira] [JBoss JIRA] (WFLY-10025) Use new org.jboss.modules.ClassTransformer interface instead of j.l.i.ClassFileTransformer
Scott Marlow (JIRA)
issues at jboss.org
Fri May 18 12:31:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579140#comment-13579140 ]
Scott Marlow commented on WFLY-10025:
-------------------------------------
Looks like we are clear to proceed on this, as Modules 1.8.5.Final (or newer) appears to be in wildfly-core now.
> 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