< prev index next >

src/hotspot/share/gc/parallel/adjoiningVirtualSpaces.hpp

Print this page
rev 52004 : webrev.02
rev 52005 : Comments from Sangheon
rev 52006 : Bringing over one change from combined patch

@@ -58,15 +58,15 @@
 // then the high_boundary of L and the low_boundary of H must be
 // moved up consistently.  AdjoiningVirtualSpaces provide the
 // interfaces for moving the this boundary.
 
 class AdjoiningVirtualSpaces : public CHeapObj<mtGC> {
+protected:
   // space at the high end and the low end, respectively
   PSVirtualSpace*    _high;
   PSVirtualSpace*    _low;
 
-protected:
   // The reserved space spanned by the two spaces.
   ReservedSpace      _reserved_space;
 
   // The minimum byte size for the low space.  It will not
   // be shrunk below this value.

@@ -106,10 +106,10 @@
     return _reserved_space.size() - _min_high_byte_size;
   }
 
   // Sets the boundaries for the virtual spaces and commits and
   // initial size;
-  void initialize(size_t max_low_byte_size,
+  virtual void initialize(size_t max_low_byte_size,
                   size_t init_low_byte_size,
                   size_t init_high_byte_size);
 };
 #endif // SHARE_VM_GC_PARALLEL_ADJOININGVIRTUALSPACES_HPP
< prev index next >