8230758: ZGC: Add missing precompiled include and fix friend declaration
authorstefank
Tue, 10 Sep 2019 17:07:02 +0200
changeset 58236 312126722609
parent 58235 932b94295034
child 58237 944b58cbaf93
8230758: ZGC: Add missing precompiled include and fix friend declaration Reviewed-by: tschatzl, pliden
src/hotspot/share/gc/z/zForwardingEntry.hpp
src/hotspot/share/gc/z/zNUMA.cpp
--- 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"