6989669: Coops: -Xshare:dump causes crash

Temporarily fix to disable compressed oops with CDS

Reviewed-by: dholmes, twisti, kvn, never
This commit is contained in:
Igor Veresov 2010-10-19 11:14:52 -07:00
parent daa052114f
commit 6a17d9c416
2 changed files with 8 additions and 1 deletions

View file

@ -2979,6 +2979,13 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
UseCompressedOops = false;
#endif
#if defined(_LP64)
if ((DumpSharedSpaces || RequireSharedSpaces) && UseCompressedOops) {
// Disable compressed oops with shared spaces
UseCompressedOops = false;
}
#endif
// Set object alignment values.
set_object_alignment();