4084 "archive specified by -XX:SharedArchiveFile)") \ 4085 \ 4086 product(bool, RequireSharedSpaces, false, \ 4087 "Require shared spaces for metadata") \ 4088 \ 4089 product(bool, DumpSharedSpaces, false, \ 4090 "Special mode: JVM reads a class list, loads classes, builds " \ 4091 "shared spaces, and dumps the shared spaces to a file to be " \ 4092 "used in future JVM runs") \ 4093 \ 4094 product(bool, PrintSharedSpaces, false, \ 4095 "Print usage of shared spaces") \ 4096 \ 4097 product(bool, PrintSharedArchiveAndExit, false, \ 4098 "Print shared archive file contents") \ 4099 \ 4100 product(bool, PrintSharedDictionary, false, \ 4101 "If PrintSharedArchiveAndExit is true, also print the shared " \ 4102 "dictionary") \ 4103 \ 4104 product(size_t, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(16*M), \ 4105 "Size of read-write space for metadata (in bytes)") \ 4106 \ 4107 product(size_t, SharedReadOnlySize, NOT_LP64(12*M) LP64_ONLY(16*M), \ 4108 "Size of read-only space for metadata (in bytes)") \ 4109 \ 4110 product(uintx, SharedMiscDataSize, NOT_LP64(2*M) LP64_ONLY(4*M), \ 4111 "Size of the shared miscellaneous data area (in bytes)") \ 4112 \ 4113 product(uintx, SharedMiscCodeSize, 120*K, \ 4114 "Size of the shared miscellaneous code area (in bytes)") \ 4115 \ 4116 product(uintx, SharedBaseAddress, LP64_ONLY(32*G) \ 4117 NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \ 4118 "Address to allocate shared memory region for class data") \ 4119 \ 4120 product(uintx, SharedSymbolTableBucketSize, 4, \ 4121 "Average number of symbols per bucket in shared table") \ 4122 range(2, 246) \ 4123 \ 4124 diagnostic(bool, IgnoreUnverifiableClassesDuringDump, false, \ 4125 "Do not quit -Xshare:dump even if we encounter unverifiable " \ 4126 "classes. Just exclude them from the shared dictionary.") \ 4127 \ 4128 diagnostic(bool, PrintMethodHandleStubs, false, \ 4129 "Print generated stub code for method handles") \ 4130 \ 4131 develop(bool, TraceMethodHandles, false, \ 4132 "trace internal method handle operations") \ 4133 \ 4134 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ 4135 "perform extra checks when constructing method handles") \ 4136 \ 4137 diagnostic(bool, ShowHiddenFrames, false, \ 4138 "show method handle implementation frames (usually hidden)") \ | 4084 "archive specified by -XX:SharedArchiveFile)") \ 4085 \ 4086 product(bool, RequireSharedSpaces, false, \ 4087 "Require shared spaces for metadata") \ 4088 \ 4089 product(bool, DumpSharedSpaces, false, \ 4090 "Special mode: JVM reads a class list, loads classes, builds " \ 4091 "shared spaces, and dumps the shared spaces to a file to be " \ 4092 "used in future JVM runs") \ 4093 \ 4094 product(bool, PrintSharedSpaces, false, \ 4095 "Print usage of shared spaces") \ 4096 \ 4097 product(bool, PrintSharedArchiveAndExit, false, \ 4098 "Print shared archive file contents") \ 4099 \ 4100 product(bool, PrintSharedDictionary, false, \ 4101 "If PrintSharedArchiveAndExit is true, also print the shared " \ 4102 "dictionary") \ 4103 \ 4104 product(size_t, SharedReadWriteSize, DEFAULT_SHARED_READ_WRITE_SIZE, \ 4105 "Size of read-write space for metadata (in bytes)") \ 4106 range(MIN_SHARED_READ_WRITE_SIZE, MAX_SHARED_READ_WRITE_SIZE) \ 4107 \ 4108 product(size_t, SharedReadOnlySize, DEFAULT_SHARED_READ_ONLY_SIZE, \ 4109 "Size of read-only space for metadata (in bytes)") \ 4110 range(MIN_SHARED_READ_ONLY_SIZE, MAX_SHARED_READ_ONLY_SIZE) \ 4111 \ 4112 product(size_t, SharedMiscDataSize, DEFAULT_SHARED_MISC_DATA_SIZE, \ 4113 "Size of the shared miscellaneous data area (in bytes)") \ 4114 range(MIN_SHARED_MISC_DATA_SIZE, MAX_SHARED_MISC_DATA_SIZE) \ 4115 \ 4116 product(size_t, SharedMiscCodeSize, DEFAULT_SHARED_MISC_CODE_SIZE, \ 4117 "Size of the shared miscellaneous code area (in bytes)") \ 4118 range(MIN_SHARED_MISC_CODE_SIZE, MAX_SHARED_MISC_CODE_SIZE) \ 4119 \ 4120 product(size_t, SharedBaseAddress, LP64_ONLY(32*G) \ 4121 NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \ 4122 "Address to allocate shared memory region for class data") \ 4123 range(0, SIZE_MAX) \ 4124 \ 4125 product(uintx, SharedSymbolTableBucketSize, 4, \ 4126 "Average number of symbols per bucket in shared table") \ 4127 range(2, 246) \ 4128 \ 4129 diagnostic(bool, IgnoreUnverifiableClassesDuringDump, false, \ 4130 "Do not quit -Xshare:dump even if we encounter unverifiable " \ 4131 "classes. Just exclude them from the shared dictionary.") \ 4132 \ 4133 diagnostic(bool, PrintMethodHandleStubs, false, \ 4134 "Print generated stub code for method handles") \ 4135 \ 4136 develop(bool, TraceMethodHandles, false, \ 4137 "trace internal method handle operations") \ 4138 \ 4139 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ 4140 "perform extra checks when constructing method handles") \ 4141 \ 4142 diagnostic(bool, ShowHiddenFrames, false, \ 4143 "show method handle implementation frames (usually hidden)") \ |