Skip to content

Commit d81849a

Browse files
committed
Merge remote-tracking branch 'origin/JDK-8300658' into JDK-8300658
# Conflicts: # src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp
2 parents aecde53 + 1d5e944 commit d81849a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ char* CgroupV2Subsystem::mem_soft_limit_val() {
164164
// without also setting a memory limit is not allowed.
165165
jlong CgroupV2Subsystem::memory_and_swap_limit_in_bytes() {
166166
char* mem_swp_limit_str = mem_swp_limit_val();
167-
if (mem_swp_limit_str == NULL) {
167+
if (mem_swp_limit_str == nullptr) {
168168
// Some container tests rely on this trace logging to happen.
169169
log_trace(os, container)("Memory and Swap Limit is: %d", OSCONTAINER_ERROR);
170170
// swap disabled at kernel level, treat it as no swap

0 commit comments

Comments
 (0)