Mercurial > hg > truffle
changeset 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 | 5404cde63c43 |
children | 740789178ad8 |
files | src/share/vm/runtime/arguments.cpp |
diffstat | 1 files changed, 2 insertions(+), 13 deletions(-) [+] |
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");