--- old/src/hotspot/os/linux/gc/z/zMountPoint_linux.cpp 2020-06-17 15:03:20.162784762 +0200 +++ new/src/hotspot/os/linux/gc/z/zMountPoint_linux.cpp 2020-06-17 15:03:20.018782339 +0200 @@ -83,7 +83,7 @@ while (getline(&line, &length, fd) != -1) { char* const mountpoint = get_mountpoint(line, filesystem); if (mountpoint != NULL) { - mountpoints->add(mountpoint); + mountpoints->append(mountpoint); } } @@ -129,10 +129,10 @@ get_mountpoints(filesystem, &mountpoints); - if (mountpoints.size() == 0) { + if (mountpoints.length() == 0) { // No mount point found log_error_p(gc)("Failed to find an accessible %s filesystem", filesystem); - } else if (mountpoints.size() == 1) { + } else if (mountpoints.length() == 1) { // One mount point found path = strdup(mountpoints.at(0)); } else {