Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 2192:b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
author | bobv |
---|---|
date | Wed, 02 Feb 2011 11:35:26 -0500 |
parents | 3582bf76420e |
children | d8a72fbc4be7 |
comparison
equal
deleted
inserted
replaced
2177:3582bf76420e | 2192:b92c45f2bc75 |
---|---|
32 #ifdef TARGET_ARCH_sparc | 32 #ifdef TARGET_ARCH_sparc |
33 # include "globals_sparc.hpp" | 33 # include "globals_sparc.hpp" |
34 #endif | 34 #endif |
35 #ifdef TARGET_ARCH_zero | 35 #ifdef TARGET_ARCH_zero |
36 # include "globals_zero.hpp" | 36 # include "globals_zero.hpp" |
37 #endif | |
38 #ifdef TARGET_ARCH_arm | |
39 # include "globals_arm.hpp" | |
40 #endif | |
41 #ifdef TARGET_ARCH_ppc | |
42 # include "globals_ppc.hpp" | |
37 #endif | 43 #endif |
38 #ifdef TARGET_OS_FAMILY_linux | 44 #ifdef TARGET_OS_FAMILY_linux |
39 # include "globals_linux.hpp" | 45 # include "globals_linux.hpp" |
40 #endif | 46 #endif |
41 #ifdef TARGET_OS_FAMILY_solaris | 47 #ifdef TARGET_OS_FAMILY_solaris |
60 # include "globals_solaris_sparc.hpp" | 66 # include "globals_solaris_sparc.hpp" |
61 #endif | 67 #endif |
62 #ifdef TARGET_OS_ARCH_windows_x86 | 68 #ifdef TARGET_OS_ARCH_windows_x86 |
63 # include "globals_windows_x86.hpp" | 69 # include "globals_windows_x86.hpp" |
64 #endif | 70 #endif |
71 #ifdef TARGET_OS_ARCH_linux_arm | |
72 # include "globals_linux_arm.hpp" | |
73 #endif | |
74 #ifdef TARGET_OS_ARCH_linux_ppc | |
75 # include "globals_linux_ppc.hpp" | |
76 #endif | |
65 #ifdef COMPILER1 | 77 #ifdef COMPILER1 |
66 #ifdef TARGET_ARCH_x86 | 78 #ifdef TARGET_ARCH_x86 |
67 # include "c1_globals_x86.hpp" | 79 # include "c1_globals_x86.hpp" |
68 #endif | 80 #endif |
69 #ifdef TARGET_ARCH_sparc | 81 #ifdef TARGET_ARCH_sparc |
70 # include "c1_globals_sparc.hpp" | 82 # include "c1_globals_sparc.hpp" |
83 #endif | |
84 #ifdef TARGET_ARCH_arm | |
85 # include "c1_globals_arm.hpp" | |
86 #endif | |
87 #ifdef TARGET_ARCH_ppc | |
88 # include "c1_globals_ppc.hpp" | |
71 #endif | 89 #endif |
72 #ifdef TARGET_OS_FAMILY_linux | 90 #ifdef TARGET_OS_FAMILY_linux |
73 # include "c1_globals_linux.hpp" | 91 # include "c1_globals_linux.hpp" |
74 #endif | 92 #endif |
75 #ifdef TARGET_OS_FAMILY_solaris | 93 #ifdef TARGET_OS_FAMILY_solaris |
83 #ifdef TARGET_ARCH_x86 | 101 #ifdef TARGET_ARCH_x86 |
84 # include "c2_globals_x86.hpp" | 102 # include "c2_globals_x86.hpp" |
85 #endif | 103 #endif |
86 #ifdef TARGET_ARCH_sparc | 104 #ifdef TARGET_ARCH_sparc |
87 # include "c2_globals_sparc.hpp" | 105 # include "c2_globals_sparc.hpp" |
106 #endif | |
107 #ifdef TARGET_ARCH_arm | |
108 # include "c2_globals_arm.hpp" | |
88 #endif | 109 #endif |
89 #ifdef TARGET_OS_FAMILY_linux | 110 #ifdef TARGET_OS_FAMILY_linux |
90 # include "c2_globals_linux.hpp" | 111 # include "c2_globals_linux.hpp" |
91 #endif | 112 #endif |
92 #ifdef TARGET_OS_FAMILY_solaris | 113 #ifdef TARGET_OS_FAMILY_solaris |
408 * removal testing. It was supposed to be removed before FCS but has \ | 429 * removal testing. It was supposed to be removed before FCS but has \ |
409 * been re-added (see 6401008) */ \ | 430 * been re-added (see 6401008) */ \ |
410 product_pd(bool, UseMembar, \ | 431 product_pd(bool, UseMembar, \ |
411 "(Unstable) Issues membars on thread state transitions") \ | 432 "(Unstable) Issues membars on thread state transitions") \ |
412 \ | 433 \ |
413 /* Temporary: See 6948537 */ \ | 434 /* Temp PPC Flag to allow disabling the use of lwsync on ppc platforms \ |
435 * that don't support it. This will be replaced by processor detection \ | |
436 * logic. \ | |
437 */ \ | |
438 product(bool, UsePPCLWSYNC, true, \ | |
439 "Use lwsync instruction if true, else use slower sync") \ | |
440 \ | |
441 /* Temporary: See 6948537 */ \ | |
414 experimental(bool, UseMemSetInBOT, true, \ | 442 experimental(bool, UseMemSetInBOT, true, \ |
415 "(Unstable) uses memset in BOT updates in GC code") \ | 443 "(Unstable) uses memset in BOT updates in GC code") \ |
416 \ | 444 \ |
417 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ | 445 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ |
418 "Enable normal processing of flags relating to field diagnostics")\ | 446 "Enable normal processing of flags relating to field diagnostics")\ |
1924 "Print various TLAB related information") \ | 1952 "Print various TLAB related information") \ |
1925 \ | 1953 \ |
1926 product(bool, PrintRevisitStats, false, \ | 1954 product(bool, PrintRevisitStats, false, \ |
1927 "Print revisit (klass and MDO) stack related information") \ | 1955 "Print revisit (klass and MDO) stack related information") \ |
1928 \ | 1956 \ |
1957 EMBEDDED_ONLY(product(bool, LowMemoryProtection, true, \ | |
1958 "Enable LowMemoryProtection")) \ | |
1959 \ | |
1929 product_pd(bool, NeverActAsServerClassMachine, \ | 1960 product_pd(bool, NeverActAsServerClassMachine, \ |
1930 "Never act like a server-class machine") \ | 1961 "Never act like a server-class machine") \ |
1931 \ | 1962 \ |
1932 product(bool, AlwaysActAsServerClassMachine, false, \ | 1963 product(bool, AlwaysActAsServerClassMachine, false, \ |
1933 "Always act like a server-class machine") \ | 1964 "Always act like a server-class machine") \ |
2627 product(bool, AggressiveOpts, false, \ | 2658 product(bool, AggressiveOpts, false, \ |
2628 "Enable aggressive optimizations - see arguments.cpp") \ | 2659 "Enable aggressive optimizations - see arguments.cpp") \ |
2629 \ | 2660 \ |
2630 product(bool, UseStringCache, false, \ | 2661 product(bool, UseStringCache, false, \ |
2631 "Enable String cache capabilities on String.java") \ | 2662 "Enable String cache capabilities on String.java") \ |
2663 \ | |
2664 /* byte strings */ \ | |
2665 product(bool, UseCompressedStrings, false, \ | |
2666 "Enable byte-valued strings") \ | |
2667 \ | |
2668 product(bool, SpecialStringCompress, true, \ | |
2669 "special version of string compress") \ | |
2670 \ | |
2671 product(bool, SpecialStringInflate, true, \ | |
2672 "special version of string inflate") \ | |
2673 \ | |
2674 product(bool, SpecialStringCompareToCC, true, \ | |
2675 "special version of string compareToCC") \ | |
2676 \ | |
2677 product(bool, SpecialStringIndexOfCC, true, \ | |
2678 "special version of string indexOfCC") \ | |
2679 \ | |
2680 product(bool, SpecialStringEqualsCC, true, \ | |
2681 "special version of string equalsCC") \ | |
2632 \ | 2682 \ |
2633 /* statistics */ \ | 2683 /* statistics */ \ |
2634 develop(bool, CountCompiledCalls, false, \ | 2684 develop(bool, CountCompiledCalls, false, \ |
2635 "counts method invocations") \ | 2685 "counts method invocations") \ |
2636 \ | 2686 \ |
2849 \ | 2899 \ |
2850 product(intx, MaxJavaStackTraceDepth, 1024, \ | 2900 product(intx, MaxJavaStackTraceDepth, 1024, \ |
2851 "Max. no. of lines in the stack trace for Java exceptions " \ | 2901 "Max. no. of lines in the stack trace for Java exceptions " \ |
2852 "(0 means all)") \ | 2902 "(0 means all)") \ |
2853 \ | 2903 \ |
2854 develop(intx, GuaranteedSafepointInterval, 1000, \ | 2904 NOT_EMBEDDED(develop(intx, GuaranteedSafepointInterval, 1000, \ |
2855 "Guarantee a safepoint (at least) every so many milliseconds " \ | 2905 "Guarantee a safepoint (at least) every so many milliseconds " \ |
2856 "(0 means none)") \ | 2906 "(0 means none)")) \ |
2907 \ | |
2908 EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, \ | |
2909 "Guarantee a safepoint (at least) every so many milliseconds " \ | |
2910 "(0 means none)")) \ | |
2857 \ | 2911 \ |
2858 product(intx, SafepointTimeoutDelay, 10000, \ | 2912 product(intx, SafepointTimeoutDelay, 10000, \ |
2859 "Delay in milliseconds for option SafepointTimeout") \ | 2913 "Delay in milliseconds for option SafepointTimeout") \ |
2860 \ | 2914 \ |
2861 product(intx, NmethodSweepFraction, 4, \ | 2915 product(intx, NmethodSweepFraction, 4, \ |
3541 diagnostic(bool, UseNewCode3, false, \ | 3595 diagnostic(bool, UseNewCode3, false, \ |
3542 "Testing Only: Use the new version while testing") \ | 3596 "Testing Only: Use the new version while testing") \ |
3543 \ | 3597 \ |
3544 /* flags for performance data collection */ \ | 3598 /* flags for performance data collection */ \ |
3545 \ | 3599 \ |
3546 product(bool, UsePerfData, true, \ | 3600 NOT_EMBEDDED(product(bool, UsePerfData, true, \ |
3547 "Flag to disable jvmstat instrumentation for performance testing" \ | 3601 "Flag to disable jvmstat instrumentation for performance testing" \ |
3548 "and problem isolation purposes.") \ | 3602 "and problem isolation purposes.")) \ |
3603 \ | |
3604 EMBEDDED_ONLY(product(bool, UsePerfData, false, \ | |
3605 "Flag to disable jvmstat instrumentation for performance testing" \ | |
3606 "and problem isolation purposes.")) \ | |
3549 \ | 3607 \ |
3550 product(bool, PerfDataSaveToFile, false, \ | 3608 product(bool, PerfDataSaveToFile, false, \ |
3551 "Save PerfData memory to hsperfdata_<pid> file on exit") \ | 3609 "Save PerfData memory to hsperfdata_<pid> file on exit") \ |
3552 \ | 3610 \ |
3553 product(ccstr, PerfDataSaveFile, NULL, \ | 3611 product(ccstr, PerfDataSaveFile, NULL, \ |