mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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:
parent
daa052114f
commit
6a17d9c416
2 changed files with 8 additions and 1 deletions
|
@ -2979,6 +2979,13 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
||||||
UseCompressedOops = false;
|
UseCompressedOops = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_LP64)
|
||||||
|
if ((DumpSharedSpaces || RequireSharedSpaces) && UseCompressedOops) {
|
||||||
|
// Disable compressed oops with shared spaces
|
||||||
|
UseCompressedOops = false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set object alignment values.
|
// Set object alignment values.
|
||||||
set_object_alignment();
|
set_object_alignment();
|
||||||
|
|
||||||
|
|
|
@ -3545,7 +3545,7 @@ class CommandLineFlags {
|
||||||
product(uintx, SharedDummyBlockSize, 512*M, \
|
product(uintx, SharedDummyBlockSize, 512*M, \
|
||||||
"Size of dummy block used to shift heap addresses (in bytes)") \
|
"Size of dummy block used to shift heap addresses (in bytes)") \
|
||||||
\
|
\
|
||||||
product(uintx, SharedReadWriteSize, 12*M, \
|
product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(13*M), \
|
||||||
"Size of read-write space in permanent generation (in bytes)") \
|
"Size of read-write space in permanent generation (in bytes)") \
|
||||||
\
|
\
|
||||||
product(uintx, SharedReadOnlySize, 10*M, \
|
product(uintx, SharedReadOnlySize, 10*M, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue