src/hotspot/share/gc/shared/verifyOption.hpp
author stefank
Thu, 09 May 2019 14:26:03 +0200
changeset 54781 f3f07c76d3d1
permissions -rw-r--r--
8223619: Move VerifyOption out of Universe Reviewed-by: coleenp, lkorinth
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
54781
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     1
/*
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     2
 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     4
 *
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     7
 * published by the Free Software Foundation.
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     8
 *
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    13
 * accompanied this code).
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    14
 *
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    18
 *
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    21
 * questions.
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    22
 *
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    23
 */
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    24
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    25
#ifndef SHARE_GC_SHARED_VERIFYOPTION_HPP
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    26
#define SHARE_GC_SHARED_VERIFYOPTION_HPP
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    27
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    28
enum VerifyOption {
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    29
      VerifyOption_Default = 0,
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    30
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    31
      // G1
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    32
      VerifyOption_G1UsePrevMarking = VerifyOption_Default,
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    33
      VerifyOption_G1UseNextMarking = VerifyOption_G1UsePrevMarking + 1,
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    34
      VerifyOption_G1UseFullMarking = VerifyOption_G1UseNextMarking + 1
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    35
};
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    36
f3f07c76d3d1 8223619: Move VerifyOption out of Universe
stefank
parents:
diff changeset
    37
#endif // SHARE_GC_SHARED_VERIFYOPTION_HPP