mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-25 21:04:51 +00:00
HHH-11420 - Update Byte Buddy to 1.6.6. and use more granular locks on type caches
This commit is contained in:
parent
d9e5edc9c0
commit
2868f1bb09
@ -10,8 +10,6 @@
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
import net.bytebuddy.TypeCache;
|
||||
import org.hibernate.HibernateException;
|
||||
@ -73,7 +71,7 @@ public Class<?> call() throws Exception {
|
||||
.load(clazz.getClassLoader())
|
||||
.getLoaded();
|
||||
}
|
||||
}, clazz);
|
||||
}, FAST_CLASSES);
|
||||
|
||||
fastClass = FAST_CLASSES.insert( clazz.getClassLoader(), clazz.getName(), fastClass );
|
||||
|
||||
@ -94,7 +92,7 @@ public Class<?> call() throws Exception {
|
||||
.load(clazz.getClassLoader())
|
||||
.getLoaded();
|
||||
}
|
||||
}, clazz);
|
||||
}, BULK_ACCESSORS);
|
||||
|
||||
try {
|
||||
return new ReflectionOptimizerImpl(
|
||||
|
@ -114,7 +114,7 @@ public Class<?> call() throws Exception {
|
||||
.load(persistentClass.getClassLoader())
|
||||
.getLoaded();
|
||||
}
|
||||
}, persistentClass);
|
||||
}, CACHE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -19,7 +19,7 @@ ext {
|
||||
cdiVersion = '1.1'
|
||||
|
||||
javassistVersion = '3.20.0-GA'
|
||||
byteBuddyVersion = '1.6.4'
|
||||
byteBuddyVersion = '1.6.6'
|
||||
|
||||
// Wildfly version targeted by module ZIP; Arquillian/Shrinkwrap versions used for CDI testing and testing the module ZIP
|
||||
wildflyVersion = '10.1.0.Final'
|
||||
|
Loading…
x
Reference in New Issue
Block a user