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

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

Post 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?>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post