< prev index next >

src/hotspot/share/gc/z/zVirtualMemory.hpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -26,10 +26,12 @@
 
 #include "gc/z/zMemory.hpp"
 #include "memory/allocation.hpp"
 
 class ZVirtualMemory VALUE_OBJ_CLASS_SPEC {
+  friend class VMStructs;
+
 private:
   uintptr_t _start;
   uintptr_t _end;
 
 public:
< prev index next >