• Andy Wilkinson's avatar
    Make MetricRegistryMetricReader thread-safe · ee567fa8
    Andy Wilkinson authored
    MetricRegistryMetricReader’s fields where neither final, nor volatile
    but could be accessed on multiple threads. This lead to visibility
    problems where the value of a field would unexpectedly be null, causing
    an NPE.
    
    This commit updates all of the fields to declare them as final, thereby
    ensuring that their values are guaranteed to be visible across different
    threads.
    
    Fixes gh-2590
    ee567fa8
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...