Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 10739:cdbfff4547be
Allow compressed klass pointers
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Fri, 12 Jul 2013 21:48:09 +0200 |
parents | ff3c23a329ed |
children | 6457dc4227e3 |
comparison
equal
deleted
inserted
replaced
10738:88992c295d47 | 10739:cdbfff4547be |
---|---|
2206 #endif | 2206 #endif |
2207 } | 2207 } |
2208 #ifdef GRAAL | 2208 #ifdef GRAAL |
2209 if (UseCompressedKlassPointers) { | 2209 if (UseCompressedKlassPointers) { |
2210 if (IgnoreUnrecognizedVMOptions) { | 2210 if (IgnoreUnrecognizedVMOptions) { |
2211 warning("UseCompressedKlassPointers is disabled, because it is not supported by Graal"); | 2211 FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, true); |
2212 FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, false); | |
2213 } else { | 2212 } else { |
2214 jio_fprintf(defaultStream::error_stream(), | 2213 status = true; |
2215 "UseCompressedKlassPointers are not supported in Graal at the moment\n"); | |
2216 status = false; | |
2217 } | 2214 } |
2218 } else { | 2215 } else { |
2219 // This prevents the flag being set to true by set_ergonomics_flags() | 2216 // This prevents the flag being set to true by set_ergonomics_flags() |
2220 FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, false); | 2217 FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, false); |
2221 } | 2218 } |