- 13 Jul, 2016 12 commits
-
-
Andy Wilkinson authored
Closes gh-6333
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6339
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, one SpringApplicationAdminMXBeanRegistrar was created per context. When there was more then one context this would result in a javax.management.InstanceAlreadyExistsException being thrown as an attempt was made to register the MBean more than once. This commit updates SpringApplicationAdminJmxAutoConfiguration so that the registrar is only created when there's no such existing bean in the context hierarchy. Closes gh-6378
-
Andy Wilkinson authored
- Call get rather than containsKey then get - Only call putIfAbsent after get has returned null to avoid unnecessary object creation Closes gh-6382
-
Stephane Nicoll authored
Closes gh-6377
-
Andy Wilkinson authored
* gh-6379: Improves metrics performance by not guarding map.get
-
Adrian Cole authored
ConcurrentHashMap implements `containsKey` with `get`. By removing a redundant call to `containsKey`, we guarantee better performance in our counter services. The geek inside measured this with JMH, and found under 4 threads of contention, throughput on this check was 40% higher in success case. Benchmark Mode Cnt Score Error Units TestBenchmarks.containsKeyAndGet_success thrpt 30 432.389 ± 20.616 ops/us TestBenchmarks.get_success thrpt 30 606.789 ± 10.848 ops/us Closes gh-6379
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-6381: Upgrade to Thymeleaf 2.1.5.RELEASE
-
Raja Dilip Kolli authored
Closes gh-6381
-
- 12 Jul, 2016 5 commits
-
-
Andy Wilkinson authored
Closes gh-4393
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, if there was a hierarchy of SpringApplications, the admin MBean would report that the application was ready as soon as any application in the hierarchy was ready. This could lead to a client trying to query a property in the environment before it's available. This commit updates the MBean registrar to that the MBean only reports that the application is ready when the context that contains the registrar has refreshed and fired its ApplicationReadyEvent. Closes gh-6362
-
Stephane Nicoll authored
* pr/6374: Polish
-
Johnny Lim authored
Closes gh-6374
-
- 11 Jul, 2016 16 commits
-
-
Phillip Webb authored
Update SpringBootTestContextBootstrapper to consider the `@WebAppConfiguration` annotation and use sensible resourceBasePath defaults. Fixes gh-6371
-
Phillip Webb authored
Use a custom GeneratorStrategy to fix the package tangles that jOOQ creates by default. Fixes gh-6372
-
Andy Wilkinson authored
Relocate `SpringBootPlugin` to fix a package tangle. Fixes gh-6355
-
Phillip Webb authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6360
-
Andy Wilkinson authored
Closes gh-6369
-
Stephane Nicoll authored
Closes gh-6008
-
Stephane Nicoll authored
Closes gh-6357
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, the shutdown endpoint would spawn a new thread to perform the shutdown but did not explicitly configure its thread context class loader (TCCL). This mean that the new thread would use the request thread's TCCL as its TCCL. This meant that a different TCCL would be used compared to a shutdown triggered by the shutdown hook and also caused problems with Tomcat's thread leak detection logic. This commit updates the shutdown endpoint to explicitly configure the TCCL of the shutdown thread to be the ClassLoader that loaded the endpoint's class. Closes gh-6361
-
Andy Wilkinson authored
-
Stephane Nicoll authored
Closes gh-4892
-
Andy Wilkinson authored
Previously, the shutdown endpoint would spawn a new thread to perform the shutdown but did not explicitly configure its thread context class loader (TCCL). This mean that the new thread would use the request thread's TCCL as its TCCL. This meant that a different TCCL would be used compared to a shutdown triggered by the shutdown hook and also caused problems with Tomcat's thread leak detection logic. This commit updates the shutdown endpoint to explicitly configure the TCCL of the shutdown thread to be the ClassLoader that loaded the endpoint's class. Closes gh-6361
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-6358
-
- 09 Jul, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/6365: Upgrade to Spring Integration Java DSL 1.1.3.RELEASE
-
Artem Bilan authored
Closes gh-6365
-
- 08 Jul, 2016 4 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6344
-
Stephane Nicoll authored
* pr/6350: Upgrade to Spring Security 4.1.1.RELEASE
-
Eddú Meléndez authored
Closes gh-6350
-
- 07 Jul, 2016 1 commit
-
-
Phillip Webb authored
Closes gh-6340
-