Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 9997:4abd6387a612
Allow UseCompressedOops argument
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 11 Jun 2013 17:45:31 +0200 |
parents | 89e4d67fdd2a |
children | 836a62f43af9 1c77d0732233 |
comparison
equal
deleted
inserted
replaced
9996:d9a331e2fd61 | 9997:4abd6387a612 |
---|---|
2100 if (UseCompressedOops) { | 2100 if (UseCompressedOops) { |
2101 if (IgnoreUnrecognizedVMOptions) { | 2101 if (IgnoreUnrecognizedVMOptions) { |
2102 warning("UseCompressedOops is disabled, because it is not supported by Graal"); | 2102 warning("UseCompressedOops is disabled, because it is not supported by Graal"); |
2103 FLAG_SET_CMDLINE(bool, UseCompressedOops, false); | 2103 FLAG_SET_CMDLINE(bool, UseCompressedOops, false); |
2104 } else { | 2104 } else { |
2105 jio_fprintf(defaultStream::error_stream(), | 2105 status = true; |
2106 "CompressedOops are not supported in Graal at the moment\n"); | 2106 FLAG_SET_CMDLINE(bool, UseCompressedOops, true); |
2107 status = false; | |
2108 } | 2107 } |
2109 } else { | 2108 } else { |
2110 // This prevents the flag being set to true by set_ergonomics_flags() | 2109 // This prevents the flag being set to true by set_ergonomics_flags() |
2111 FLAG_SET_CMDLINE(bool, UseCompressedOops, false); | 2110 FLAG_SET_CMDLINE(bool, UseCompressedOops, false); |
2112 } | 2111 } |