src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2013, 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.

@@ -1073,10 +1073,13 @@
   // Initialize the G1CollectedHeap to have the initial and
   // maximum sizes and remembered and barrier sets
   // specified by the policy object.
   jint initialize();
 
+  // return the (conservative) maximum heap alignment for any G1 heap
+  static size_t max_heap_alignment();
+
   // Initialize weak reference processing.
   virtual void ref_processing_init();
 
   void set_par_threads(uint t) {
     SharedHeap::set_par_threads(t);