changeset 56320:312126722609

8230758: ZGC: Add missing precompiled include and fix friend declaration Reviewed-by: tschatzl, pliden
author stefank
date Tue, 10 Sep 2019 17:07:02 +0200
parents 932b94295034
children 944b58cbaf93
files src/hotspot/share/gc/z/zForwardingEntry.hpp src/hotspot/share/gc/z/zNUMA.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zForwardingEntry.hpp	Tue Sep 10 17:07:02 2019 +0200
+++ b/src/hotspot/share/gc/z/zForwardingEntry.hpp	Tue Sep 10 17:07:02 2019 +0200
@@ -46,7 +46,7 @@
 //
 
 class ZForwardingEntry {
-  friend struct PrimitiveConversions;
+  friend class PrimitiveConversions;
 
 private:
   typedef ZBitField<uint64_t, bool,   0,   1> field_populated;
--- a/src/hotspot/share/gc/z/zNUMA.cpp	Tue Sep 10 17:07:02 2019 +0200
+++ b/src/hotspot/share/gc/z/zNUMA.cpp	Tue Sep 10 17:07:02 2019 +0200
@@ -21,6 +21,7 @@
  * questions.
  */
 
+#include "precompiled.hpp"
 #include "gc/z/zNUMA.hpp"
 #include "logging/log.hpp"
 #include "runtime/os.hpp"