[hibernate/hibernate-orm] 5eaa14: HHH-13565 Session opening efficiency: introduce Fa...
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 5eaa1498df0f8f5f7f00515fb9bb2960b2ac489b
https://github.com/hibernate/hibernate-orm/commit/5eaa1498df0f8f5f7f00515...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
A hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Session opening efficiency: introduce FastSessionServices and design for shared services among sessions
Commit: a39acebde84e9d2a16d5b8472fc0b4430ed0bfbd
https://github.com/hibernate/hibernate-orm/commit/a39acebde84e9d2a16d5b84...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
Log Message:
-----------
HHH-13565 Move field AbstractSharedSessionContract#disallowOutOfTransactionUpdateOperations to constants in FastSessionServices
Commit: 8a3c1ee5049c5a0c34836c35da6911d333393e8a
https://github.com/hibernate/hibernate-orm/commit/8a3c1ee5049c5a0c34836c3...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
Log Message:
-----------
HHH-13565 Promote field useStreamForLobBinding as cross-Session constant
Commit: 72ce71ef1079d183c5f6d1b67c65f984f67d25b4
https://github.com/hibernate/hibernate-orm/commit/72ce71ef1079d183c5f6d1b...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
Log Message:
-----------
HHH-13565 Dialect is another constant
Commit: 185ef2edb7cae1c74f0f92ba91b79ef2b35e2042
https://github.com/hibernate/hibernate-orm/commit/185ef2edb7cae1c74f0f92b...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
Log Message:
-----------
HHH-13565 Extract some hot ServiceRegistry services as well
Commit: 8931ef0962a026a9dad7dd72414137135bc3ce7e
https://github.com/hibernate/hibernate-orm/commit/8931ef0962a026a9dad7dd7...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/test/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorTest.java
Log Message:
-----------
HHH-13565 Promote JDBCServices as hot service to be retrieved from FastSessionService as well
Commit: be9fe275923c171390ee8ddd340b35a58e7baa73
https://github.com/hibernate/hibernate-orm/commit/be9fe275923c171390ee8dd...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Promote to FastSessionServices: isJtaTransactionAccessible
Commit: bc5b3c028febed445fe1f1e70eaf874e41dc93cc
https://github.com/hibernate/hibernate-orm/commit/bc5b3c028febed445fe1f1e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessorImpl.java
Log Message:
-----------
HHH-13565 Remove some related dead code
Commit: 457e9b61faffc9f5d4fd60fb164ca6b0efa77b71
https://github.com/hibernate/hibernate-orm/commit/457e9b61faffc9f5d4fd60f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/ConfigurationHelper.java
Log Message:
-----------
HHH-13565 Formatting improvements
Commit: e23e6a73e6a6b068573e4ab4044d40bb78e67e9f
https://github.com/hibernate/hibernate-orm/commit/e23e6a73e6a6b068573e4ab...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Extract Session properties to avoid eager initialization of Map<String,Object> properties
Commit: 4ef8030f5163ff50ccb0c66309e5d2fffa587380
https://github.com/hibernate/hibernate-orm/commit/4ef8030f5163ff50ccb0c66...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Move field SessionImpl#discardOnClose to FastSessionServices as well
Commit: 4b2f056a632c64b4bde2ad7e5fe05ace4d50e17c
https://github.com/hibernate/hibernate-orm/commit/4b2f056a632c64b4bde2ad7...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/JdbcObserverImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/JdbcSessionContextImpl.java
Log Message:
-----------
HHH-13565 Avoid allocating ArrayList of ConnectionObserver instances on each Session
Commit: 269d5f835860b188df81622d369bc37e61a35ea5
https://github.com/hibernate/hibernate-orm/commit/269d5f835860b188df81622...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/BaselineSessionEventsListenerBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/SessionEventListenerManagerImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/NonContextualJdbcConnectionAccess.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionCreationOptions.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
A hibernate-core/src/test/java/org/hibernate/event/SessionEventListenersManagerTest.java
Log Message:
-----------
HHH-13565 Review allocations for default SessionEventListener instances
Commit: b8f3fc36164a5bb70349039ba6325d560a77a041
https://github.com/hibernate/hibernate-orm/commit/b8f3fc36164a5bb70349039...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
M hibernate-core/src/main/java/org/hibernate/event/service/spi/EventListenerGroup.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Convert iteration of event listeners to be allocation free
Commit: 91299aeb7faa703c67e72f4e9d4b7c3a1e61106e
https://github.com/hibernate/hibernate-orm/commit/91299aeb7faa703c67e72f4...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Remove some dead code from SessionImpl
Commit: cc39f54717f9c6761a108dc7c14ab77533cf8766
https://github.com/hibernate/hibernate-orm/commit/cc39f54717f9c6761a108dc...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessorImpl.java
Log Message:
-----------
HHH-13565 Micro cleanup of Trace level checks
Commit: 2de048fde5872d0149798513448802d77fea92c3
https://github.com/hibernate/hibernate-orm/commit/2de048fde5872d014979851...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
Log Message:
-----------
HHH-13565 Prepare the most commonly needed SessionBuilder instances in advance
Commit: 646a8756a9cfa41425826d7cd6f9608a0b6c9e54
https://github.com/hibernate/hibernate-orm/commit/646a8756a9cfa41425826d7...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
A hibernate-core/src/main/java/org/hibernate/jpa/internal/util/LockOptionsHelper.java
Log Message:
-----------
HHH-13565 Making SessionFactoryImpl#LockOptions lazily initialized as well
Commit: 9bfffd85d7beeaee98630bb73dbbb3fb7a11f5e7
https://github.com/hibernate/hibernate-orm/commit/9bfffd85d7beeaee98630bb...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-22 (Thu, 22 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
A hibernate-core/src/main/java/org/hibernate/event/service/spi/EventActionWithParameter.java
M hibernate-core/src/main/java/org/hibernate/event/service/spi/EventListenerGroup.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13565 Ensure all events from EventListenerGroup can be fired without allocations
Compare: https://github.com/hibernate/hibernate-orm/compare/408275ddecc3...9bfffd8...
5 years, 4 months
[hibernate/hibernate-search] 4f24ee: HSEARCH-899 Replace forEach with get to contribute
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 4f24eef6f59450b6c8868a65c847f903f9f1e19e
https://github.com/hibernate/hibernate-search/commit/4f24eef6f59450b6c886...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/TypeMetadataContributorProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoTypeAdditionalMetadataProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapper.java
Log Message:
-----------
HSEARCH-899 Replace forEach with get to contribute
Commit: 3446400ae0b87d495c6f05508867db544df1b4bb
https://github.com/hibernate/hibernate-search/commit/3446400ae0b87d495c6f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AnnotationMappingDiscoveryIT.java
Log Message:
-----------
HSEARCH-899 Add always present prop on AnnotationMappingDiscoveryIT
Commit: df5223a433e08ad1a6f8d3c27f72638214661865
https://github.com/hibernate/hibernate-search/commit/df5223a433e08ad1a6f8...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorTypeNodeBuilder.java
Log Message:
-----------
HSEARCH-899 Detect invalid @IndexEmbedded properties
Commit: a5bc06848d0c4717b48cdd5e1d4e540654c0f002
https://github.com/hibernate/hibernate-search/commit/a5bc06848d0c4717b48c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorTypeNodeBuilder.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
Log Message:
-----------
HSEARCH-899 Move the check to ProcessorValueNodeBuilderDelegate
Following the https://github.com/hibernate/hibernate-search/pull/2057#discussion_r31514...
Commit: 059e5c94a84b92bedb94622a66d8870825774ce5
https://github.com/hibernate/hibernate-search/commit/059e5c94a84b92bedb94...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationMappingConfigurationContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationPojoTypeMetadataContributorFactory.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/PropertyAnnotationProcessor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/TypeAnnotationProcessor.java
Log Message:
-----------
HSEARCH-899 Avoid generating empty metadata contributors when processing non-annotated types
So that we can later detect types that really don't have any contributed
metadata.
Compare: https://github.com/hibernate/hibernate-search/compare/3e2d74414d86...059e...
5 years, 4 months