hotspot/src/cpu/x86/vm/c1_globals_x86.hpp
changeset 29697 92501504191b
parent 26919 361b4b4c92c0
equal deleted inserted replaced
29696:01571dfab5be 29697:92501504191b
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    30 
    30 
    31 // Sets the default values for platform dependent flags used by the client compiler.
    31 // Sets the default values for platform dependent flags used by the client compiler.
    32 // (see c1_globals.hpp)
    32 // (see c1_globals.hpp)
    33 
    33 
    34 #ifndef TIERED
    34 #ifndef TIERED
    35 define_pd_global(bool, BackgroundCompilation,        true );
    35 define_pd_global(bool, BackgroundCompilation,          true );
    36 define_pd_global(bool, UseTLAB,                      true );
    36 define_pd_global(bool, UseTLAB,                        true );
    37 define_pd_global(bool, ResizeTLAB,                   true );
    37 define_pd_global(bool, ResizeTLAB,                     true );
    38 define_pd_global(bool, InlineIntrinsics,             true );
    38 define_pd_global(bool, InlineIntrinsics,               true );
    39 define_pd_global(bool, PreferInterpreterNativeStubs, false);
    39 define_pd_global(bool, PreferInterpreterNativeStubs,   false);
    40 define_pd_global(bool, ProfileTraps,                 false);
    40 define_pd_global(bool, ProfileTraps,                   false);
    41 define_pd_global(bool, UseOnStackReplacement,        true );
    41 define_pd_global(bool, UseOnStackReplacement,          true );
    42 define_pd_global(bool, TieredCompilation,            false);
    42 define_pd_global(bool, TieredCompilation,              false);
    43 define_pd_global(intx, CompileThreshold,             1500 );
    43 define_pd_global(intx, CompileThreshold,               1500 );
    44 
    44 
    45 define_pd_global(intx, OnStackReplacePercentage,     933  );
    45 define_pd_global(intx,   OnStackReplacePercentage,     933  );
    46 define_pd_global(intx, FreqInlineSize,               325  );
    46 define_pd_global(intx,   FreqInlineSize,               325  );
    47 define_pd_global(intx, NewSizeThreadIncrease,        4*K  );
    47 define_pd_global(size_t, NewSizeThreadIncrease,        4*K  );
    48 define_pd_global(intx, InitialCodeCacheSize,         160*K);
    48 define_pd_global(intx, InitialCodeCacheSize,           160*K);
    49 define_pd_global(intx, ReservedCodeCacheSize,        32*M );
    49 define_pd_global(intx, ReservedCodeCacheSize,          32*M );
    50 define_pd_global(intx, NonProfiledCodeHeapSize,      13*M );
    50 define_pd_global(intx, NonProfiledCodeHeapSize,        13*M );
    51 define_pd_global(intx, ProfiledCodeHeapSize,         14*M );
    51 define_pd_global(intx, ProfiledCodeHeapSize,           14*M );
    52 define_pd_global(intx, NonNMethodCodeHeapSize,       5*M  );
    52 define_pd_global(intx, NonNMethodCodeHeapSize,         5*M  );
    53 define_pd_global(bool, ProfileInterpreter,           false);
    53 define_pd_global(bool,   ProfileInterpreter,           false);
    54 define_pd_global(intx, CodeCacheExpansionSize,       32*K );
    54 define_pd_global(intx, CodeCacheExpansionSize,         32*K );
    55 define_pd_global(uintx, CodeCacheMinBlockLength,     1);
    55 define_pd_global(uintx, CodeCacheMinBlockLength,       1    );
    56 define_pd_global(uintx, CodeCacheMinimumUseSpace,    400*K);
    56 define_pd_global(uintx, CodeCacheMinimumUseSpace,      400*K);
    57 define_pd_global(uintx, MetaspaceSize,               12*M );
    57 define_pd_global(size_t, MetaspaceSize,                12*M );
    58 define_pd_global(bool, NeverActAsServerClassMachine, true );
    58 define_pd_global(bool,   NeverActAsServerClassMachine, true );
    59 define_pd_global(uint64_t,MaxRAM,                    1ULL*G);
    59 define_pd_global(uint64_t, MaxRAM,                    1ULL*G);
    60 define_pd_global(bool, CICompileOSR,                 true );
    60 define_pd_global(bool,   CICompileOSR,                 true );
    61 #endif // !TIERED
    61 #endif // !TIERED
    62 define_pd_global(bool, UseTypeProfile,               false);
    62 define_pd_global(bool, UseTypeProfile,                 false);
    63 define_pd_global(bool, RoundFPResults,               true );
    63 define_pd_global(bool, RoundFPResults,                 true );
    64 
    64 
    65 define_pd_global(bool, LIRFillDelaySlots,            false);
    65 define_pd_global(bool, LIRFillDelaySlots,              false);
    66 define_pd_global(bool, OptimizeSinglePrecision,      true );
    66 define_pd_global(bool, OptimizeSinglePrecision,        true );
    67 define_pd_global(bool, CSEArrayLength,               false);
    67 define_pd_global(bool, CSEArrayLength,                 false);
    68 define_pd_global(bool, TwoOperandLIRForm,            true );
    68 define_pd_global(bool, TwoOperandLIRForm,              true );
    69 
    69 
    70 #endif // CPU_X86_VM_C1_GLOBALS_X86_HPP
    70 #endif // CPU_X86_VM_C1_GLOBALS_X86_HPP