Page 1 of 1

Standard -GC für native Image Springboot -Apps und wie Sie zu ZGC wechseln

Posted: 05 Feb 2025, 03:33
by Guest
Ich habe eine sehr einfache Springboot -App, die ich ein graalvm -natives Bild daraus erstelle. < /p>

Code: Select all

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0


org.springframework.boot
spring-boot-starter-parent
3.4.2





org.springframework.boot
spring-boot-starter-web


[...]




org.springframework.boot
spring-boot-maven-plugin


org.graalvm.buildtools
native-maven-plugin


< /code>
Das native Bild wird erfolgreich erstellt und kann ausgeführt werden, um Verkehr usw. zu servieren. In diesem Fall verwendet? -Notes#Paketo-tiny-builder-for-building-oci-images Das Standardbild ist Paketobuildpacks/Builder-Jammy-Tiny 
Dieses Basisbild ändert das GC nicht . Was heißt das, was wird der Standard -GC verwendet?>