2806 product(bool, RequireSharedSpaces, false, \
2807 "Require shared spaces for metadata") \
2808 \
2809 product(bool, DumpSharedSpaces, false, \
2810 "Special mode: JVM reads a class list, loads classes, builds " \
2811 "shared spaces, and dumps the shared spaces to a file to be " \
2812 "used in future JVM runs") \
2813 \
2814 product(bool, PrintSharedArchiveAndExit, false, \
2815 "Print shared archive file contents") \
2816 \
2817 product(bool, PrintSharedDictionary, false, \
2818 "If PrintSharedArchiveAndExit is true, also print the shared " \
2819 "dictionary") \
2820 \
2821 product(size_t, SharedBaseAddress, LP64_ONLY(32*G) \
2822 NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \
2823 "Address to allocate shared memory region for class data") \
2824 range(0, SIZE_MAX) \
2825 \
2826 product(bool, UseAppCDS, false, \
2827 "Enable Application Class Data Sharing when using shared spaces") \
2828 writeable(CommandLineOnly) \
2829 \
2830 product(ccstr, SharedArchiveConfigFile, NULL, \
2831 "Data to add to the CDS archive file") \
2832 \
2833 product(uintx, SharedSymbolTableBucketSize, 4, \
2834 "Average number of symbols per bucket in shared table") \
2835 range(2, 246) \
2836 \
2837 diagnostic(bool, IgnoreUnverifiableClassesDuringDump, true, \
2838 "Do not quit -Xshare:dump even if we encounter unverifiable " \
2839 "classes. Just exclude them from the shared dictionary.") \
2840 \
2841 diagnostic(bool, PrintMethodHandleStubs, false, \
2842 "Print generated stub code for method handles") \
2843 \
2844 develop(bool, TraceMethodHandles, false, \
2845 "trace internal method handle operations") \
2846 \
2847 diagnostic(bool, VerifyMethodHandles, trueInDebug, \
2848 "perform extra checks when constructing method handles") \
2849 \
2915 diagnostic(bool, StringDeduplicationRehashALot, false, \
2916 "Force table rehash every time the table is scanned") \
2917 \
2918 diagnostic(bool, WhiteBoxAPI, false, \
2919 "Enable internal testing APIs") \
2920 \
2921 experimental(intx, SurvivorAlignmentInBytes, 0, \
2922 "Default survivor space alignment in bytes") \
2923 constraint(SurvivorAlignmentInBytesConstraintFunc,AfterErgo) \
2924 \
2925 product(bool , AllowNonVirtualCalls, false, \
2926 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \
2927 \
2928 product(ccstr, DumpLoadedClassList, NULL, \
2929 "Dump the names all loaded classes, that could be stored into " \
2930 "the CDS archive, in the specified file") \
2931 \
2932 product(ccstr, SharedClassListFile, NULL, \
2933 "Override the default CDS class list") \
2934 \
2935 diagnostic(ccstr, SharedArchiveFile, NULL, \
2936 "Override the default location of the CDS archive file") \
2937 \
2938 product(ccstr, ExtraSharedClassListFile, NULL, \
2939 "Extra classlist for building the CDS archive file") \
2940 \
2941 experimental(size_t, ArrayAllocatorMallocLimit, \
2942 SOLARIS_ONLY(64*K) NOT_SOLARIS((size_t)-1), \
2943 "Allocation less than this value will be allocated " \
2944 "using malloc. Larger allocations will use mmap.") \
2945 \
2946 experimental(bool, AlwaysAtomicAccesses, false, \
2947 "Accesses to all variables should always be atomic") \
2948 \
2949 product(bool, EnableTracing, false, \
2950 "Enable event-based tracing") \
2951 \
2952 product(bool, UseLockedTracing, false, \
2953 "Use locked-tracing when doing event-based tracing") \
2954 \
2955 diagnostic(bool, UseUnalignedAccesses, false, \
|
2806 product(bool, RequireSharedSpaces, false, \
2807 "Require shared spaces for metadata") \
2808 \
2809 product(bool, DumpSharedSpaces, false, \
2810 "Special mode: JVM reads a class list, loads classes, builds " \
2811 "shared spaces, and dumps the shared spaces to a file to be " \
2812 "used in future JVM runs") \
2813 \
2814 product(bool, PrintSharedArchiveAndExit, false, \
2815 "Print shared archive file contents") \
2816 \
2817 product(bool, PrintSharedDictionary, false, \
2818 "If PrintSharedArchiveAndExit is true, also print the shared " \
2819 "dictionary") \
2820 \
2821 product(size_t, SharedBaseAddress, LP64_ONLY(32*G) \
2822 NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \
2823 "Address to allocate shared memory region for class data") \
2824 range(0, SIZE_MAX) \
2825 \
2826 product(ccstr, SharedArchiveConfigFile, NULL, \
2827 "Data to add to the CDS archive file") \
2828 \
2829 product(uintx, SharedSymbolTableBucketSize, 4, \
2830 "Average number of symbols per bucket in shared table") \
2831 range(2, 246) \
2832 \
2833 diagnostic(bool, IgnoreUnverifiableClassesDuringDump, true, \
2834 "Do not quit -Xshare:dump even if we encounter unverifiable " \
2835 "classes. Just exclude them from the shared dictionary.") \
2836 \
2837 diagnostic(bool, PrintMethodHandleStubs, false, \
2838 "Print generated stub code for method handles") \
2839 \
2840 develop(bool, TraceMethodHandles, false, \
2841 "trace internal method handle operations") \
2842 \
2843 diagnostic(bool, VerifyMethodHandles, trueInDebug, \
2844 "perform extra checks when constructing method handles") \
2845 \
2911 diagnostic(bool, StringDeduplicationRehashALot, false, \
2912 "Force table rehash every time the table is scanned") \
2913 \
2914 diagnostic(bool, WhiteBoxAPI, false, \
2915 "Enable internal testing APIs") \
2916 \
2917 experimental(intx, SurvivorAlignmentInBytes, 0, \
2918 "Default survivor space alignment in bytes") \
2919 constraint(SurvivorAlignmentInBytesConstraintFunc,AfterErgo) \
2920 \
2921 product(bool , AllowNonVirtualCalls, false, \
2922 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \
2923 \
2924 product(ccstr, DumpLoadedClassList, NULL, \
2925 "Dump the names all loaded classes, that could be stored into " \
2926 "the CDS archive, in the specified file") \
2927 \
2928 product(ccstr, SharedClassListFile, NULL, \
2929 "Override the default CDS class list") \
2930 \
2931 product(ccstr, SharedArchiveFile, NULL, \
2932 "Override the default location of the CDS archive file") \
2933 \
2934 product(ccstr, ExtraSharedClassListFile, NULL, \
2935 "Extra classlist for building the CDS archive file") \
2936 \
2937 experimental(size_t, ArrayAllocatorMallocLimit, \
2938 SOLARIS_ONLY(64*K) NOT_SOLARIS((size_t)-1), \
2939 "Allocation less than this value will be allocated " \
2940 "using malloc. Larger allocations will use mmap.") \
2941 \
2942 experimental(bool, AlwaysAtomicAccesses, false, \
2943 "Accesses to all variables should always be atomic") \
2944 \
2945 product(bool, EnableTracing, false, \
2946 "Enable event-based tracing") \
2947 \
2948 product(bool, UseLockedTracing, false, \
2949 "Use locked-tracing when doing event-based tracing") \
2950 \
2951 diagnostic(bool, UseUnalignedAccesses, false, \
|