Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | 22b8d3d181d9 |
children | 5876f980ea19 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Mon Oct 08 17:04:00 2012 -0700 +++ b/src/share/vm/runtime/arguments.cpp Tue Oct 09 10:11:38 2012 +0200 @@ -1423,10 +1423,9 @@ FLAG_SET_DEFAULT(UseCompressedKlassPointers, false); } else { // Turn on UseCompressedKlassPointers too - // The compiler is broken for this so turn it on when the compiler is fixed. - // if (FLAG_IS_DEFAULT(UseCompressedKlassPointers)) { - // FLAG_SET_ERGO(bool, UseCompressedKlassPointers, true); - // } + if (FLAG_IS_DEFAULT(UseCompressedKlassPointers)) { + FLAG_SET_ERGO(bool, UseCompressedKlassPointers, true); + } // Set the ClassMetaspaceSize to something that will not need to be // expanded, since it cannot be expanded. if (UseCompressedKlassPointers && FLAG_IS_DEFAULT(ClassMetaspaceSize)) {