src/hotspot/cpu/sparc/c1_globals_sparc.hpp
changeset 48807 fd8ccb37fce9
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
48806:51fc22e5fb00 48807:fd8ccb37fce9
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2018, 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, CICompileOSR,                 true );
    36 define_pd_global(bool,  CICompileOSR,                 true );
    37 define_pd_global(bool, InlineIntrinsics,             true );
    37 define_pd_global(bool,  InlineIntrinsics,             true );
    38 define_pd_global(bool, PreferInterpreterNativeStubs, false);
    38 define_pd_global(bool,  PreferInterpreterNativeStubs, false);
    39 define_pd_global(bool, ProfileTraps,                 false);
    39 define_pd_global(bool,  ProfileTraps,                 false);
    40 define_pd_global(bool, UseOnStackReplacement,        true );
    40 define_pd_global(bool,  UseOnStackReplacement,        true );
    41 define_pd_global(bool, TieredCompilation,            false);
    41 define_pd_global(bool,  TieredCompilation,            false);
    42 define_pd_global(intx, CompileThreshold,             1000 ); // Design center runs on 1.3.1
    42 define_pd_global(intx,  CompileThreshold,             1000 ); // Design center runs on 1.3.1
    43 
    43 
    44 define_pd_global(intx, OnStackReplacePercentage,     1400 );
    44 define_pd_global(intx,  OnStackReplacePercentage,     1400 );
    45 define_pd_global(bool, UseTLAB,                      true );
    45 define_pd_global(bool,  UseTLAB,                      true );
    46 define_pd_global(bool, ProfileInterpreter,           false);
    46 define_pd_global(bool,  ProfileInterpreter,           false);
    47 define_pd_global(intx, FreqInlineSize,               325  );
    47 define_pd_global(intx,  FreqInlineSize,               325  );
    48 define_pd_global(bool, ResizeTLAB,                   true );
    48 define_pd_global(bool,  ResizeTLAB,                   true );
    49 define_pd_global(intx, ReservedCodeCacheSize,        32*M );
    49 define_pd_global(uintx, ReservedCodeCacheSize,        32*M );
    50 define_pd_global(intx, NonProfiledCodeHeapSize,      13*M );
    50 define_pd_global(uintx, NonProfiledCodeHeapSize,      13*M );
    51 define_pd_global(intx, ProfiledCodeHeapSize,         14*M );
    51 define_pd_global(uintx, ProfiledCodeHeapSize,         14*M );
    52 define_pd_global(intx, NonNMethodCodeHeapSize,       5*M  );
    52 define_pd_global(uintx, NonNMethodCodeHeapSize,       5*M  );
    53 define_pd_global(intx, CodeCacheExpansionSize,       32*K );
    53 define_pd_global(uintx, CodeCacheExpansionSize,       32*K );
    54 define_pd_global(uintx, CodeCacheMinBlockLength,     1);
    54 define_pd_global(uintx, CodeCacheMinBlockLength,      1);
    55 define_pd_global(uintx, CodeCacheMinimumUseSpace,    400*K);
    55 define_pd_global(uintx, CodeCacheMinimumUseSpace,     400*K);
    56 define_pd_global(size_t, MetaspaceSize,              12*M );
    56 define_pd_global(size_t, MetaspaceSize,               12*M );
    57 define_pd_global(bool, NeverActAsServerClassMachine, true );
    57 define_pd_global(bool,  NeverActAsServerClassMachine, true );
    58 define_pd_global(size_t, NewSizeThreadIncrease,      16*K );
    58 define_pd_global(size_t, NewSizeThreadIncrease,       16*K );
    59 define_pd_global(uint64_t, MaxRAM,                   1ULL*G);
    59 define_pd_global(uint64_t, MaxRAM,                    1ULL*G);
    60 define_pd_global(intx, InitialCodeCacheSize,         160*K);
    60 define_pd_global(uintx, InitialCodeCacheSize,         160*K);
    61 #endif // !TIERED
    61 #endif // !TIERED
    62 
    62 
    63 define_pd_global(bool, UseTypeProfile,               false);
    63 define_pd_global(bool, UseTypeProfile,               false);
    64 define_pd_global(bool, RoundFPResults,               false);
    64 define_pd_global(bool, RoundFPResults,               false);
    65 
    65