< prev index next >

src/hotspot/os/linux/osContainer_linux.cpp

Print this page

        

*** 465,475 **** if (memlimit >= _unlimited_memory) { log_trace(os, container)("Non-Hierarchical Memory Limit is: Unlimited"); if (memory->is_hierarchical()) { const char* matchline = "hierarchical_memory_limit"; ! char* format = "%s " JULONG_FORMAT; GET_CONTAINER_INFO_LINE(julong, memory, "/memory.stat", matchline, "Hierarchical Memory Limit is: " JULONG_FORMAT, format, hier_memlimit) if (hier_memlimit >= _unlimited_memory) { log_trace(os, container)("Hierarchical Memory Limit is: Unlimited"); } else { --- 465,475 ---- if (memlimit >= _unlimited_memory) { log_trace(os, container)("Non-Hierarchical Memory Limit is: Unlimited"); if (memory->is_hierarchical()) { const char* matchline = "hierarchical_memory_limit"; ! const char* format = "%s " JULONG_FORMAT; GET_CONTAINER_INFO_LINE(julong, memory, "/memory.stat", matchline, "Hierarchical Memory Limit is: " JULONG_FORMAT, format, hier_memlimit) if (hier_memlimit >= _unlimited_memory) { log_trace(os, container)("Hierarchical Memory Limit is: Unlimited"); } else {
*** 488,498 **** "Memory and Swap Limit is: " JULONG_FORMAT, JULONG_FORMAT, memswlimit); if (memswlimit >= _unlimited_memory) { log_trace(os, container)("Non-Hierarchical Memory and Swap Limit is: Unlimited"); if (memory->is_hierarchical()) { const char* matchline = "hierarchical_memsw_limit"; ! char* format = "%s " JULONG_FORMAT; GET_CONTAINER_INFO_LINE(julong, memory, "/memory.stat", matchline, "Hierarchical Memory and Swap Limit is : " JULONG_FORMAT, format, hier_memlimit) if (hier_memlimit >= _unlimited_memory) { log_trace(os, container)("Hierarchical Memory and Swap Limit is: Unlimited"); } else { --- 488,498 ---- "Memory and Swap Limit is: " JULONG_FORMAT, JULONG_FORMAT, memswlimit); if (memswlimit >= _unlimited_memory) { log_trace(os, container)("Non-Hierarchical Memory and Swap Limit is: Unlimited"); if (memory->is_hierarchical()) { const char* matchline = "hierarchical_memsw_limit"; ! const char* format = "%s " JULONG_FORMAT; GET_CONTAINER_INFO_LINE(julong, memory, "/memory.stat", matchline, "Hierarchical Memory and Swap Limit is : " JULONG_FORMAT, format, hier_memlimit) if (hier_memlimit >= _unlimited_memory) { log_trace(os, container)("Hierarchical Memory and Swap Limit is: Unlimited"); } else {
< prev index next >