< prev index next >

src/share/vm/gc/g1/g1HeapVerifier.hpp

Print this page
rev 13365 : [mq]: review_update_1
   1 /*
   2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  92 #endif // PRODUCT
  93 
  94   // If G1VerifyBitmaps is set, verify that the marking bitmaps for
  95   // the given region do not have any spurious marks. If errors are
  96   // detected, print appropriate error messages and crash.
  97   void check_bitmaps(const char* caller, HeapRegion* hr) PRODUCT_RETURN;
  98 
  99   // If G1VerifyBitmaps is set, verify that the marking bitmaps do not
 100   // have any spurious marks. If errors are detected, print
 101   // appropriate error messages and crash.
 102   void check_bitmaps(const char* caller) PRODUCT_RETURN;
 103 
 104   // Do sanity check on the contents of the in-cset fast test table.
 105   bool check_cset_fast_test() PRODUCT_RETURN_( return true; );
 106 
 107   void verify_card_table_cleanup() PRODUCT_RETURN;
 108 
 109   void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
 110   void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
 111   void verify_dirty_young_regions() PRODUCT_RETURN;


 112 };
 113 
 114 #endif // SHARE_VM_GC_G1_G1HEAPVERIFIER_HPP
   1 /*
   2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  92 #endif // PRODUCT
  93 
  94   // If G1VerifyBitmaps is set, verify that the marking bitmaps for
  95   // the given region do not have any spurious marks. If errors are
  96   // detected, print appropriate error messages and crash.
  97   void check_bitmaps(const char* caller, HeapRegion* hr) PRODUCT_RETURN;
  98 
  99   // If G1VerifyBitmaps is set, verify that the marking bitmaps do not
 100   // have any spurious marks. If errors are detected, print
 101   // appropriate error messages and crash.
 102   void check_bitmaps(const char* caller) PRODUCT_RETURN;
 103 
 104   // Do sanity check on the contents of the in-cset fast test table.
 105   bool check_cset_fast_test() PRODUCT_RETURN_( return true; );
 106 
 107   void verify_card_table_cleanup() PRODUCT_RETURN;
 108 
 109   void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
 110   void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
 111   void verify_dirty_young_regions() PRODUCT_RETURN;
 112 
 113   static void verify_archive_regions();
 114 };
 115 
 116 #endif // SHARE_VM_GC_G1_G1HEAPVERIFIER_HPP
< prev index next >