Merge branch '3.4.x'

This commit is contained in:
Phillip Webb
2025-05-20 15:20:55 -07:00

View File

@@ -100,22 +100,21 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests {
.type(JsonFieldType.NUMBER),
fieldWithPath("memory").description("Memory information."),
fieldWithPath("memory.heap").description("Heap memory."),
fieldWithPath("memory.heap.init").description("The number of bytes initially requested by the JVM."),
fieldWithPath("memory.heap.used").description("The number of bytes currently being used."),
fieldWithPath("memory.heap.committed").description("The number of bytes committed for JVM use."),
fieldWithPath("memory.heap.init").description("Number of bytes initially requested by the JVM."),
fieldWithPath("memory.heap.used").description("Number of bytes currently being used."),
fieldWithPath("memory.heap.committed").description("Number of bytes committed for JVM use."),
fieldWithPath("memory.heap.max")
.description("The maximum number of bytes that can be used by the JVM (or -1)."),
.description("Maximum number of bytes that can be used by the JVM (or -1)."),
fieldWithPath("memory.nonHeap").description("Non-heap memory."),
fieldWithPath("memory.nonHeap.init").description("The number of bytes initially requested by the JVM."),
fieldWithPath("memory.nonHeap.used").description("The number of bytes currently being used."),
fieldWithPath("memory.nonHeap.committed").description("The number of bytes committed for JVM use."),
fieldWithPath("memory.nonHeap.init").description("Number of bytes initially requested by the JVM."),
fieldWithPath("memory.nonHeap.used").description("Number of bytes currently being used."),
fieldWithPath("memory.nonHeap.committed").description("Number of bytes committed for JVM use."),
fieldWithPath("memory.nonHeap.max")
.description("The maximum number of bytes that can be used by the JVM (or -1)."),
.description("Maximum number of bytes that can be used by the JVM (or -1)."),
fieldWithPath("memory.garbageCollectors").description("Details for garbage collectors."),
fieldWithPath("memory.garbageCollectors[].name").description("Name of of the garbage collector."),
fieldWithPath("memory.garbageCollectors[].collectionCount")
.description("Total number of collections that have occurred."));
}
private ResponseFieldsSnippet javaInfo() {