8230758: ZGC: Add missing precompiled include and fix friend declaration
Reviewed-by: tschatzl, pliden
--- 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"