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.Method;
|
||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
|
||||||
import java.util.concurrent.ConcurrentMap;
|
|
||||||
|
|
||||||
import net.bytebuddy.TypeCache;
|
import net.bytebuddy.TypeCache;
|
||||||
import org.hibernate.HibernateException;
|
import org.hibernate.HibernateException;
|
||||||
@ -73,7 +71,7 @@ public Class<?> call() throws Exception {
|
|||||||
.load(clazz.getClassLoader())
|
.load(clazz.getClassLoader())
|
||||||
.getLoaded();
|
.getLoaded();
|
||||||
}
|
}
|
||||||
}, clazz);
|
}, FAST_CLASSES);
|
||||||
|
|
||||||
fastClass = FAST_CLASSES.insert( clazz.getClassLoader(), clazz.getName(), fastClass );
|
fastClass = FAST_CLASSES.insert( clazz.getClassLoader(), clazz.getName(), fastClass );
|
||||||
|
|
||||||
@ -94,7 +92,7 @@ public Class<?> call() throws Exception {
|
|||||||
.load(clazz.getClassLoader())
|
.load(clazz.getClassLoader())
|
||||||
.getLoaded();
|
.getLoaded();
|
||||||
}
|
}
|
||||||
}, clazz);
|
}, BULK_ACCESSORS);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return new ReflectionOptimizerImpl(
|
return new ReflectionOptimizerImpl(
|
||||||
|
@ -114,7 +114,7 @@ public Class<?> call() throws Exception {
|
|||||||
.load(persistentClass.getClassLoader())
|
.load(persistentClass.getClassLoader())
|
||||||
.getLoaded();
|
.getLoaded();
|
||||||
}
|
}
|
||||||
}, persistentClass);
|
}, CACHE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -19,7 +19,7 @@ ext {
|
|||||||
cdiVersion = '1.1'
|
cdiVersion = '1.1'
|
||||||
|
|
||||||
javassistVersion = '3.20.0-GA'
|
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
|
// Wildfly version targeted by module ZIP; Arquillian/Shrinkwrap versions used for CDI testing and testing the module ZIP
|
||||||
wildflyVersion = '10.1.0.Final'
|
wildflyVersion = '10.1.0.Final'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user