comparison test/runtime/SharedArchiveFile/CdsSameObjectAlignment.java @ 12056:740e263c80c6

8003424: Enable Class Data Sharing for CompressedOops 8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops 8005933: The -Xshare:auto option is ignored for -server Summary: Move klass metaspace above the heap and support CDS with compressed klass ptrs. Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
author hseigel
date Thu, 15 Aug 2013 20:04:10 -0400
parents 1e9094165098
children 35b99e7e0af2
comparison
equal deleted inserted replaced
12055:d96f52012aaa 12056:740e263c80c6
82 // CDS uses absolute addresses for performance. 82 // CDS uses absolute addresses for performance.
83 // It will try to reserve memory at a specific address; 83 // It will try to reserve memory at a specific address;
84 // there is a chance such reservation will fail 84 // there is a chance such reservation will fail
85 // If it does, it is NOT considered a failure of the feature, 85 // If it does, it is NOT considered a failure of the feature,
86 // rather a possible expected outcome, though not likely 86 // rather a possible expected outcome, though not likely
87 output.shouldContain( 87 output.shouldContain("Could not allocate metaspace at a compatible address");
88 "Unable to reserve shared space at required address");
89 output.shouldHaveExitValue(1); 88 output.shouldHaveExitValue(1);
90 } 89 }
91 } 90 }
92 } 91 }