src/share/vm/runtime/globals.hpp

changeset 3495
5f17b16b3219
parent 3446
dddf0be88eb1
child 3499
aa3d708d67c4
     1.1 --- a/src/share/vm/runtime/globals.hpp	Sun Jan 29 16:46:04 2012 -0800
     1.2 +++ b/src/share/vm/runtime/globals.hpp	Mon Jan 30 19:37:14 2012 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -26,6 +26,17 @@
    1.11  #define SHARE_VM_RUNTIME_GLOBALS_HPP
    1.12  
    1.13  #include "utilities/debug.hpp"
    1.14 +
    1.15 +// use this for flags that are true per default in the tiered build
    1.16 +// but false in non-tiered builds, and vice versa
    1.17 +#ifdef TIERED
    1.18 +#define  trueInTiered true
    1.19 +#define falseInTiered false
    1.20 +#else
    1.21 +#define  trueInTiered false
    1.22 +#define falseInTiered true
    1.23 +#endif
    1.24 +
    1.25  #ifdef TARGET_ARCH_x86
    1.26  # include "globals_x86.hpp"
    1.27  #endif
    1.28 @@ -353,16 +364,6 @@
    1.29  #define falseInProduct true
    1.30  #endif
    1.31  
    1.32 -// use this for flags that are true per default in the tiered build
    1.33 -// but false in non-tiered builds, and vice versa
    1.34 -#ifdef TIERED
    1.35 -#define  trueInTiered true
    1.36 -#define falseInTiered false
    1.37 -#else
    1.38 -#define  trueInTiered false
    1.39 -#define falseInTiered true
    1.40 -#endif
    1.41 -
    1.42  #ifdef JAVASE_EMBEDDED
    1.43  #define falseInEmbedded false
    1.44  #else

mercurial