From 9dbff93960f0e16d8694fc02c4d88a413c17ceaf Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 2 Feb 2023 17:51:07 +0100 Subject: [PATCH] Fix comment about Caffeine optimization Per Ben Manes request in #30744 (cherry picked from commit 32da1f14ee97be863bee3fc22edc2c4a25961a04) --- docs/src/main/asciidoc/cache.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/cache.adoc b/docs/src/main/asciidoc/cache.adoc index 471352b3aeb33..524f28c61cb54 100644 --- a/docs/src/main/asciidoc/cache.adoc +++ b/docs/src/main/asciidoc/cache.adoc @@ -1027,7 +1027,7 @@ It will instead result in another attempt to call the remote. The Cache extension supports building native executables. -However, to optimize runtime speed, Caffeine embarks many cache implementation classes that are selected depending on the cache configuration. +However, to optimize runtime memory, Caffeine embarks many cache implementation classes that are selected depending on the cache configuration. We are not registering all of them for reflection (and the ones not registered are not included into the native executables) as registering all of them would be very costly.