hotspot/src/cpu/sparc/vm/c2_globals_sparc.hpp
changeset 29697 92501504191b
parent 26919 361b4b4c92c0
child 33065 55892792936f
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.
    49 define_pd_global(intx, ConditionalMoveLimit,         4);
    49 define_pd_global(intx, ConditionalMoveLimit,         4);
    50 define_pd_global(intx, FLOATPRESSURE,                52);  // C2 on V9 gets to use all the float/double registers
    50 define_pd_global(intx, FLOATPRESSURE,                52);  // C2 on V9 gets to use all the float/double registers
    51 define_pd_global(intx, FreqInlineSize,               175);
    51 define_pd_global(intx, FreqInlineSize,               175);
    52 define_pd_global(intx, INTPRESSURE,                  48);  // large register set
    52 define_pd_global(intx, INTPRESSURE,                  48);  // large register set
    53 define_pd_global(intx, InteriorEntryAlignment,       16);  // = CodeEntryAlignment
    53 define_pd_global(intx, InteriorEntryAlignment,       16);  // = CodeEntryAlignment
    54 define_pd_global(intx, NewSizeThreadIncrease, ScaleForWordSize(4*K));
    54 define_pd_global(size_t, NewSizeThreadIncrease,      ScaleForWordSize(4*K));
    55 define_pd_global(intx, RegisterCostAreaRatio,        12000);
    55 define_pd_global(intx, RegisterCostAreaRatio,        12000);
    56 define_pd_global(bool, UseTLAB,                      true);
    56 define_pd_global(bool, UseTLAB,                      true);
    57 define_pd_global(bool, ResizeTLAB,                   true);
    57 define_pd_global(bool, ResizeTLAB,                   true);
    58 define_pd_global(intx, LoopUnrollLimit,              60); // Design center runs on 1.3.1
    58 define_pd_global(intx, LoopUnrollLimit,              60); // Design center runs on 1.3.1
    59 define_pd_global(intx, MinJumpTableSize,             5);
    59 define_pd_global(intx, MinJumpTableSize,             5);
    88 define_pd_global(intx, NonProfiledCodeHeapSize,      13*M);
    88 define_pd_global(intx, NonProfiledCodeHeapSize,      13*M);
    89 define_pd_global(intx, ProfiledCodeHeapSize,         14*M);
    89 define_pd_global(intx, ProfiledCodeHeapSize,         14*M);
    90 define_pd_global(intx, NonNMethodCodeHeapSize,       5*M );
    90 define_pd_global(intx, NonNMethodCodeHeapSize,       5*M );
    91 define_pd_global(intx, CodeCacheExpansionSize,       32*K);
    91 define_pd_global(intx, CodeCacheExpansionSize,       32*K);
    92 // Ergonomics related flags
    92 // Ergonomics related flags
    93 define_pd_global(uint64_t,MaxRAM,                    4ULL*G);
    93 define_pd_global(uint64_t, MaxRAM,                   4ULL*G);
    94 #endif
    94 #endif
    95 define_pd_global(uintx, CodeCacheMinBlockLength,     4);
    95 define_pd_global(uintx, CodeCacheMinBlockLength,     4);
    96 define_pd_global(uintx, CodeCacheMinimumUseSpace,    400*K);
    96 define_pd_global(uintx, CodeCacheMinimumUseSpace,    400*K);
    97 
    97 
    98 define_pd_global(bool,  TrapBasedRangeChecks,        false); // Not needed on sparc.
    98 define_pd_global(bool,  TrapBasedRangeChecks,        false); // Not needed on sparc.
    99 
    99 
   100 // Heap related flags
   100 // Heap related flags
   101 define_pd_global(uintx,MetaspaceSize,    ScaleForWordSize(16*M));
   101 define_pd_global(size_t, MetaspaceSize,              ScaleForWordSize(16*M));
   102 
   102 
   103 // Ergonomics related flags
   103 // Ergonomics related flags
   104 define_pd_global(bool, NeverActAsServerClassMachine, false);
   104 define_pd_global(bool, NeverActAsServerClassMachine, false);
   105 
   105 
   106 #endif // CPU_SPARC_VM_C2_GLOBALS_SPARC_HPP
   106 #endif // CPU_SPARC_VM_C2_GLOBALS_SPARC_HPP