Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 7461:561148896559
8005076: Creating a CDS archive with one alignment and running another causes a crash.
Summary: Save the alignment when writing the CDS and compare it when reading the CDS.
Reviewed-by: kvn, coleenp
author | hseigel |
---|---|
date | Tue, 08 Jan 2013 13:38:11 -0500 |
parents | 2d6c433b1f38 |
children | 1f6d10b4cc0c 4a916f2ce331 |
comparison
equal
deleted
inserted
replaced
7460:6c3f47d964f3 | 7461:561148896559 |
---|---|
1828 product(bool, UseCMSInitiatingOccupancyOnly, false, \ | 1828 product(bool, UseCMSInitiatingOccupancyOnly, false, \ |
1829 "Only use occupancy as a crierion for starting a CMS collection") \ | 1829 "Only use occupancy as a crierion for starting a CMS collection") \ |
1830 \ | 1830 \ |
1831 product(intx, CMSIsTooFullPercentage, 98, \ | 1831 product(intx, CMSIsTooFullPercentage, 98, \ |
1832 "An absolute ceiling above which CMS will always consider the " \ | 1832 "An absolute ceiling above which CMS will always consider the " \ |
1833 "perm gen ripe for collection") \ | 1833 "unloading of classes when class unloading is enabled") \ |
1834 \ | 1834 \ |
1835 develop(bool, CMSTestInFreeList, false, \ | 1835 develop(bool, CMSTestInFreeList, false, \ |
1836 "Check if the coalesced range is already in the " \ | 1836 "Check if the coalesced range is already in the " \ |
1837 "free lists as claimed") \ | 1837 "free lists as claimed") \ |
1838 \ | 1838 \ |
1897 \ | 1897 \ |
1898 develop(uintx, MetaDataDeallocateALotInterval, 100, \ | 1898 develop(uintx, MetaDataDeallocateALotInterval, 100, \ |
1899 "Metadata deallocation alot interval") \ | 1899 "Metadata deallocation alot interval") \ |
1900 \ | 1900 \ |
1901 develop(bool, TraceMetadataChunkAllocation, false, \ | 1901 develop(bool, TraceMetadataChunkAllocation, false, \ |
1902 "Trace humongous metadata allocations") \ | 1902 "Trace chunk metadata allocations") \ |
1903 \ | 1903 \ |
1904 product(bool, TraceMetadataHumongousAllocation, false, \ | 1904 product(bool, TraceMetadataHumongousAllocation, false, \ |
1905 "Trace humongous metadata allocations") \ | 1905 "Trace humongous metadata allocations") \ |
1906 \ | 1906 \ |
1907 develop(bool, TraceMetavirtualspaceAllocation, false, \ | 1907 develop(bool, TraceMetavirtualspaceAllocation, false, \ |
1908 "Trace humongous metadata allocations") \ | 1908 "Trace virtual space metadata allocations") \ |
1909 \ | 1909 \ |
1910 notproduct(bool, ExecuteInternalVMTests, false, \ | 1910 notproduct(bool, ExecuteInternalVMTests, false, \ |
1911 "Enable execution of internal VM tests.") \ | 1911 "Enable execution of internal VM tests.") \ |
1912 \ | 1912 \ |
1913 product_pd(bool, UseTLAB, "Use thread-local object allocation") \ | 1913 product_pd(bool, UseTLAB, "Use thread-local object allocation") \ |
3535 "Override built-in error report server address") \ | 3535 "Override built-in error report server address") \ |
3536 \ | 3536 \ |
3537 /* Shared spaces */ \ | 3537 /* Shared spaces */ \ |
3538 \ | 3538 \ |
3539 product(bool, UseSharedSpaces, true, \ | 3539 product(bool, UseSharedSpaces, true, \ |
3540 "Use shared spaces in the permanent generation") \ | 3540 "Use shared spaces for metadata") \ |
3541 \ | 3541 \ |
3542 product(bool, RequireSharedSpaces, false, \ | 3542 product(bool, RequireSharedSpaces, false, \ |
3543 "Require shared spaces in the permanent generation") \ | 3543 "Require shared spaces for metadata") \ |
3544 \ | 3544 \ |
3545 product(bool, DumpSharedSpaces, false, \ | 3545 product(bool, DumpSharedSpaces, false, \ |
3546 "Special mode: JVM reads a class list, loads classes, builds " \ | 3546 "Special mode: JVM reads a class list, loads classes, builds " \ |
3547 "shared spaces, and dumps the shared spaces to a file to be " \ | 3547 "shared spaces, and dumps the shared spaces to a file to be " \ |
3548 "used in future JVM runs.") \ | 3548 "used in future JVM runs.") \ |
3549 \ | 3549 \ |
3550 product(bool, PrintSharedSpaces, false, \ | 3550 product(bool, PrintSharedSpaces, false, \ |
3551 "Print usage of shared spaces") \ | 3551 "Print usage of shared spaces") \ |
3552 \ | 3552 \ |
3553 product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(16*M), \ | 3553 product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(16*M), \ |
3554 "Size of read-write space in permanent generation (in bytes)") \ | 3554 "Size of read-write space for metadata (in bytes)") \ |
3555 \ | 3555 \ |
3556 product(uintx, SharedReadOnlySize, NOT_LP64(12*M) LP64_ONLY(16*M), \ | 3556 product(uintx, SharedReadOnlySize, NOT_LP64(12*M) LP64_ONLY(16*M), \ |
3557 "Size of read-only space in permanent generation (in bytes)") \ | 3557 "Size of read-only space for metadata (in bytes)") \ |
3558 \ | 3558 \ |
3559 product(uintx, SharedMiscDataSize, NOT_LP64(2*M) LP64_ONLY(4*M), \ | 3559 product(uintx, SharedMiscDataSize, NOT_LP64(2*M) LP64_ONLY(4*M), \ |
3560 "Size of the shared data area adjacent to the heap (in bytes)") \ | 3560 "Size of the shared miscellaneous data area (in bytes)") \ |
3561 \ | 3561 \ |
3562 product(uintx, SharedMiscCodeSize, 120*K, \ | 3562 product(uintx, SharedMiscCodeSize, 120*K, \ |
3563 "Size of the shared code area adjacent to the heap (in bytes)") \ | 3563 "Size of the shared miscellaneous code area (in bytes)") \ |
3564 \ | 3564 \ |
3565 product(uintx, SharedDummyBlockSize, 0, \ | 3565 product(uintx, SharedDummyBlockSize, 0, \ |
3566 "Size of dummy block used to shift heap addresses (in bytes)") \ | 3566 "Size of dummy block used to shift heap addresses (in bytes)") \ |
3567 \ | 3567 \ |
3568 diagnostic(bool, EnableInvokeDynamic, true, \ | 3568 diagnostic(bool, EnableInvokeDynamic, true, \ |