On Tue, 12 Nov 2024 09:13:07 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> We can use Hashtable.putIfAbsent instead of pair `get`/`put` methods. > It's faster and cleaner. This pull request has now been integrated. Changeset: 0110acaa Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/0110acaa9086e5adb49be4fff06d66f96b821119 Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod 8354791: Use Hashtable.putIfAbsent in CSS constructor Reviewed-by: serb, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/22032