Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/graalGlobals_x86.hpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | 1baf7f1e3f23 |
children | 8a3efb8c831d |
comparison
equal
deleted
inserted
replaced
7153:c421c19b7bf8 | 7154:5d0bb7d52783 |
---|---|
29 #include "utilities/macros.hpp" | 29 #include "utilities/macros.hpp" |
30 | 30 |
31 // Sets the default values for platform dependent flags used by the Graal compiler. | 31 // Sets the default values for platform dependent flags used by the Graal compiler. |
32 // (see graalGlobals.hpp) | 32 // (see graalGlobals.hpp) |
33 | 33 |
34 #ifndef COMPILER2 | |
35 define_pd_global(intx, TypeProfileWidth, 8); | |
36 #endif | |
37 | |
38 define_pd_global(intx, GraalSafepointPollOffset, 256 ); | |
39 | |
40 #if !defined(COMPILER1) && !defined(COMPILER2) | |
34 define_pd_global(bool, BackgroundCompilation, true ); | 41 define_pd_global(bool, BackgroundCompilation, true ); |
35 define_pd_global(bool, UseTLAB, true ); | 42 define_pd_global(bool, UseTLAB, true ); |
36 define_pd_global(bool, ResizeTLAB, true ); | 43 define_pd_global(bool, ResizeTLAB, true ); |
37 define_pd_global(bool, InlineIntrinsics, true ); | 44 define_pd_global(bool, InlineIntrinsics, true ); |
38 define_pd_global(bool, PreferInterpreterNativeStubs, false); | 45 define_pd_global(bool, PreferInterpreterNativeStubs, false); |
42 define_pd_global(intx, OnStackReplacePercentage, 933 ); | 49 define_pd_global(intx, OnStackReplacePercentage, 933 ); |
43 define_pd_global(intx, FreqInlineSize, 325 ); | 50 define_pd_global(intx, FreqInlineSize, 325 ); |
44 define_pd_global(intx, NewSizeThreadIncrease, 4*K ); | 51 define_pd_global(intx, NewSizeThreadIncrease, 4*K ); |
45 define_pd_global(uintx,MetaspaceSize, 12*M ); | 52 define_pd_global(uintx,MetaspaceSize, 12*M ); |
46 define_pd_global(uintx,MaxPermSize, 64*M ); | 53 define_pd_global(uintx,MaxPermSize, 64*M ); |
47 define_pd_global(bool, NeverActAsServerClassMachine, true ); | 54 define_pd_global(bool, NeverActAsServerClassMachine, false); |
48 define_pd_global(uint64_t,MaxRAM, 1ULL*G); | 55 define_pd_global(uint64_t,MaxRAM, 1ULL*G); |
49 define_pd_global(bool, CICompileOSR, true ); | 56 define_pd_global(bool, CICompileOSR, true ); |
50 | |
51 define_pd_global(bool, ProfileTraps, true ); | 57 define_pd_global(bool, ProfileTraps, true ); |
52 define_pd_global(bool, UseOnStackReplacement, true); | 58 define_pd_global(bool, UseOnStackReplacement, true ); |
53 define_pd_global(intx, CompileThreshold, 10000 ); | 59 define_pd_global(intx, CompileThreshold, 10000); |
54 define_pd_global(intx, InitialCodeCacheSize, 16*M ); | 60 define_pd_global(intx, InitialCodeCacheSize, 16*M ); |
55 define_pd_global(intx, ReservedCodeCacheSize, 64*M ); | 61 define_pd_global(intx, ReservedCodeCacheSize, 64*M ); |
56 define_pd_global(bool, ProfileInterpreter, true ); | 62 define_pd_global(bool, ProfileInterpreter, true ); |
57 define_pd_global(intx, CodeCacheExpansionSize, 64*K ); | 63 define_pd_global(intx, CodeCacheExpansionSize, 64*K ); |
58 define_pd_global(uintx,CodeCacheMinBlockLength, 4); | 64 define_pd_global(uintx,CodeCacheMinBlockLength, 4); |
59 define_pd_global(intx, TypeProfileWidth, 8); | 65 #endif |
60 | |
61 define_pd_global(bool, RoundFPResults, true ); | |
62 | |
63 define_pd_global(bool, LIRFillDelaySlots, false); | |
64 define_pd_global(bool, OptimizeSinglePrecision, true ); | |
65 define_pd_global(bool, CSEArrayLength, false); | |
66 define_pd_global(bool, TwoOperandLIRForm, true ); | |
67 | |
68 define_pd_global(intx, SafepointPollOffset, 256 ); | |
69 | 66 |
70 #endif // CPU_X86_VM_GRAALGLOBALS_X86_HPP | 67 #endif // CPU_X86_VM_GRAALGLOBALS_X86_HPP |