Skip to content

Commit 1b05b29

Browse files
committed
fix
1 parent 0370401 commit 1b05b29

File tree

1 file changed

+2
-2
lines changed
  • src/hotspot/share/runtime

1 file changed

+2
-2
lines changed

src/hotspot/share/runtime/os.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,8 +2211,8 @@ bool os::used_memory(physical_memory_size_type& value) {
22112211
bool os::Machine::used_memory(physical_memory_size_type& value) {
22122212
physical_memory_size_type avail_mem = 0;
22132213
// Return value ignored - defaulting to 0 on failure.
2214-
(void)os::available_memory(avail_mem);
2215-
physical_memory_size_type phys_mem = os::physical_memory();
2214+
(void)os::Machine::available_memory(avail_mem);
2215+
physical_memory_size_type phys_mem = os::Machine::physical_memory();
22162216
value = phys_mem - avail_mem;
22172217
return true;
22182218
}

0 commit comments

Comments
 (0)