Mercurial > hg > graal-compiler
diff src/share/vm/runtime/arguments.cpp @ 10864:6457dc4227e3
Add compressed klass pointers in gate
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 23 Jul 2013 19:51:15 +0200 |
parents | cdbfff4547be |
children | df4d86530e21 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Tue Jul 23 17:48:01 2013 +0200 +++ b/src/share/vm/runtime/arguments.cpp Tue Jul 23 19:51:15 2013 +0200 @@ -1,5 +1,4 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -2206,16 +2205,6 @@ #endif } #ifdef GRAAL - if (UseCompressedKlassPointers) { - if (IgnoreUnrecognizedVMOptions) { - FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, true); - } else { - status = true; - } - } else { - // This prevents the flag being set to true by set_ergonomics_flags() - FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, false); - } if (UseG1GC) { if (IgnoreUnrecognizedVMOptions) { warning("UseG1GC is still experimental in Graal, use SerialGC instead "); @@ -2224,10 +2213,10 @@ warning("UseG1GC is still experimental in Graal, use SerialGC instead "); status = true; } - } else { + } else { // This prevents the flag being set to true by set_ergonomics_flags() FLAG_SET_CMDLINE(bool, UseG1GC, false); - } + } if (!ScavengeRootsInCode) { warning("forcing ScavengeRootsInCode non-zero because Graal is enabled");