Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AppContext.getProperty() uses poorly-scaling System.getProperty inside #1222
Description of the bug or enhancement
AppContext.getProperty() uses System.getProperty() inside.
I think that all platform code assumes that AppContext.getProperty() is cheap and highly scalable. So depending on System.getProperty() is a problem.
changed the title
AppContext.getProperty() uses poorly-scalable System.getProperty inside
Aug 29, 2018
System properties are read on startup and cached in a ConcurrentHashMap. Consequently, changes in system properties made at runtime do not affect the system. If you need to read the new value of a system property, reset the cache using the