src/hotspot/share/logging/logDecorations.cpp
changeset 59247 56bf71d64d51
parent 58884 562df5d69eed
child 59252 623722a6aeb9
--- a/src/hotspot/share/logging/logDecorations.cpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/logging/logDecorations.cpp	Mon Nov 25 12:22:13 2019 +0100
@@ -44,7 +44,7 @@
 }
 
 const char* LogDecorations::host_name() {
-  const char* host_name = OrderAccess::load_acquire(&_host_name);
+  const char* host_name = Atomic::load_acquire(&_host_name);
   if (host_name == NULL) {
     char buffer[1024];
     if (os::get_host_name(buffer, sizeof(buffer))) {