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

Print this page
rev 3985 : 7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS
Summary: Verify that parts of the marking bitmaps that should not have marks do not have marks, i.e., the parts of the bitmap that cover [TAMS:top) areas for each heap region.
Reviewed-by:
   1 /*
   2  * Copyright (c) 2001, 2012, 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  *


 323           "occurring at object copying")                                    \
 324                                                                             \
 325   develop(uintx, G1EvacuationFailureALotInterval, 5,                        \
 326           "Total collections between forced triggering of evacuation "      \
 327           "failures")                                                       \
 328                                                                             \
 329   develop(bool, G1EvacuationFailureALotDuringConcMark, true,                \
 330           "Force use of evacuation failure handling during evacuation "     \
 331           "pauses when marking is in progress")                             \
 332                                                                             \
 333   develop(bool, G1EvacuationFailureALotDuringInitialMark, true,             \
 334           "Force use of evacuation failure handling during initial mark "   \
 335           "evacuation pauses")                                              \
 336                                                                             \
 337   develop(bool, G1EvacuationFailureALotDuringYoungGC, true,                 \
 338           "Force use of evacuation failure handling during young "          \
 339           "evacuation pauses")                                              \
 340                                                                             \
 341   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 342           "Force use of evacuation failure handling during mixed "          \
 343           "evacuation pauses")






 344 
 345 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG)
 346 
 347 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP
   1 /*
   2  * Copyright (c) 2001, 2013, 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  *


 323           "occurring at object copying")                                    \
 324                                                                             \
 325   develop(uintx, G1EvacuationFailureALotInterval, 5,                        \
 326           "Total collections between forced triggering of evacuation "      \
 327           "failures")                                                       \
 328                                                                             \
 329   develop(bool, G1EvacuationFailureALotDuringConcMark, true,                \
 330           "Force use of evacuation failure handling during evacuation "     \
 331           "pauses when marking is in progress")                             \
 332                                                                             \
 333   develop(bool, G1EvacuationFailureALotDuringInitialMark, true,             \
 334           "Force use of evacuation failure handling during initial mark "   \
 335           "evacuation pauses")                                              \
 336                                                                             \
 337   develop(bool, G1EvacuationFailureALotDuringYoungGC, true,                 \
 338           "Force use of evacuation failure handling during young "          \
 339           "evacuation pauses")                                              \
 340                                                                             \
 341   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 342           "Force use of evacuation failure handling during mixed "          \
 343           "evacuation pauses")                                              \
 344                                                                             \
 345   develop(bool, G1VerifyBitmaps, false,                                     \
 346           "Verifies the consistency of the marking bitmaps")                \
 347                                                                             \
 348   develop(bool, G1VerifyPrevBitmap, false,                                  \
 349           "Verifies the consistency of the prev marking bitmap")
 350  
 351 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG)
 352 
 353 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP