Skip to content

Commit ed92dad

Browse files
committed
Note about class pruning
1 parent eb789c0 commit ed92dad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_posts/2025-03-12-orange-telco-core-network-api-management-with-quarkus.adoc

+9
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ The team reserved it for the final build stage when absolutely necessary.
7272

7373
Some fine-tuning was required to prevent class pruning issues.
7474

75+
[NOTE]
76+
====
77+
When building native executables, the call tree is analyzed to determine which classes and methods are used. Everything that is not used is pruned to reduce the size of the executable and the RSS usage.
78+
79+
In some cases, e.g. when using reflection, you will have to declare explicitly that a class is used so that it ends up being included in the native executable.
80+
81+
Quarkus provides tooling to simplify this configuration.
82+
====
83+
7584
=== Reactive Programming & Mutiny
7685

7786
Having worked extensively with Reactor, the transition to Mutiny had a learning curve.

0 commit comments

Comments
 (0)