> If CompareAndSwap is not used, then AtomicReference could be replaced with > volatile. It simplified code a bit.
Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision: 8303213: Avoid AtomicReference in TextComponentPrintable expand star import ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12018/files - new: https://git.openjdk.org/jdk/pull/12018/files/b9e7bd7a..229f9107 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12018&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12018&range=01-02 Stats: 9 lines in 1 file changed: 8 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/12018.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12018/head:pull/12018 PR: https://git.openjdk.org/jdk/pull/12018
